Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.09334/0.09334, allocations: 11.16 MB / 30.51 MB, free: 4.938 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 95.59 kB / 38.14 MB, free: 7.207 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 156.5 kB / 45.86 MB, free: 10.6 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 177.1 MB / 230.6 MB, free: 4.793 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1625/0.1625, allocations: 17.63 MB / 309.1 MB, free: 8.809 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 390.4 MB, free: 46.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.27e-05, allocations: 6.25 kB / 390.4 MB, free: 46.58 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_2element): time 0.0749/0.07493, allocations: 70.33 MB / 460.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02516/0.1001, allocations: 15.7 MB / 476.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.101, allocations: 23.81 kB / 476.5 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.1018, allocations: 206.5 kB / 476.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008032/0.1099, allocations: 2.324 MB / 479 MB, free: 6.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004019/0.1139, allocations: 1.208 MB / 480.2 MB, free: 4.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.1157, allocations: 1.086 MB / 481.3 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.1164, allocations: 267 kB / 481.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00349/0.1198, allocations: 1.174 MB / 482.7 MB, free: 2.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008499/0.1207, allocations: 374.9 kB / 483.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.1208, allocations: 43.94 kB / 483.1 MB, free: 1.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004604/0.1254, allocations: 1.391 MB / 484.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.1256, allocations: 139.5 kB / 484.7 MB, free: 408 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.126, allocations: 191.6 kB / 484.9 MB, free: 216 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.1309, allocations: 2.07 MB / 486.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1309, allocations: 0 / 486.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1309, allocations: 0 / 486.9 MB, free: 14.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1309, allocations: 0 / 486.9 MB, free: 14.13 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002088/0.133, allocations: 1.028 MB / 488 MB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.133, allocations: 12.03 kB / 488 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1332, allocations: 75.61 kB / 488 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1338, allocations: 335.7 kB / 488.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.1339, allocations: 24.66 kB / 488.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.1339, allocations: 32 kB / 488.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.1347, allocations: 423.4 kB / 488.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1347, allocations: 0 / 488.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.921e-05/0.1348, allocations: 16 kB / 488.8 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1348, allocations: 15.92 kB / 488.9 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000951/0.1357, allocations: 290.4 kB / 489.1 MB, free: 11.8 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.1385, allocations: 1.56 MB / 490.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/0.1391, allocations: 271 kB / 491 MB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.1394, allocations: 135.6 kB / 491.1 MB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.1406, allocations: 0.6403 MB / 491.7 MB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.141, allocations: 206.8 kB / 491.9 MB, free: 8.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.141, allocations: 0 / 491.9 MB, free: 8.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001243/0.1423, allocations: 430 kB / 492.4 MB, free: 8.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.1424, allocations: 59.34 kB / 492.4 MB, free: 8.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.1429, allocations: 434.1 kB / 492.8 MB, free: 7.953 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.1429, allocations: 33.7 kB / 492.9 MB, free: 7.914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.1432, allocations: 295 kB / 493.2 MB, free: 7.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1433, allocations: 107.1 kB / 493.3 MB, free: 7.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1435, allocations: 99.78 kB / 493.4 MB, free: 7.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.1439, allocations: 0.5274 MB / 493.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.1441, allocations: 116.9 kB / 494 MB, free: 6.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.1446, allocations: 245.3 kB / 494.3 MB, free: 6.469 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.1466, allocations: 0.722 MB / 495 MB, free: 5.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1466, allocations: 0 / 495 MB, free: 5.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009796/0.1476, allocations: 441 kB / 495.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1476, allocations: 4 kB / 495.4 MB, free: 5.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.1477, allocations: 7.938 kB / 495.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.1478, allocations: 39.92 kB / 495.5 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.1482, allocations: 79.89 kB / 495.5 MB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/0.1491, allocations: 0.8273 MB / 496.4 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.1494, allocations: 35.73 kB / 496.4 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.1494, allocations: 19.98 kB / 496.4 MB, free: 4.211 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002538/0.1497, allocations: 212.4 kB / 496.6 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.1498, allocations: 47.77 kB / 496.7 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009323/0.1507, allocations: 396.8 kB / 497.1 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.1507, allocations: 8 kB / 497.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1507, allocations: 0 / 497.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1507, allocations: 0 / 497.1 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.1522, allocations: 0.8142 MB / 497.9 MB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.1522, allocations: 3.984 kB / 497.9 MB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1525, allocations: 43.95 kB / 497.9 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/0.1526, allocations: 43.64 kB / 498 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.1526, allocations: 11.94 kB / 498 MB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006167/0.1532, allocations: 0.8117 MB / 498.8 MB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1532, allocations: 4 kB / 498.8 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1544, allocations: 0.6014 MB / 499.4 MB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.1545, allocations: 67.75 kB / 499.5 MB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.1546, allocations: 8 kB / 499.5 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1548, allocations: 11.98 kB / 499.5 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.1549, allocations: 31.89 kB / 499.5 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.155, allocations: 8 kB / 499.5 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003496/0.1553, allocations: 295.1 kB / 499.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1553, allocations: 3.938 kB / 499.8 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001292/0.1566, allocations: 0.4981 MB / 0.4886 GB, free: 168 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (arteries.enthalpy,arteries.substanceMasses[1]) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/0.1582, allocations: 0.8134 MB / 0.4894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.1591, allocations: 313.5 kB / 0.4897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1591, allocations: 0.625 kB / 0.4897 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.1595, allocations: 152.9 kB / 0.4898 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/0.1605, allocations: 183.8 kB / 0.49 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.1621, allocations: 0.7659 MB / 0.4908 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1624, allocations: 219.5 kB / 0.491 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002584/0.1626, allocations: 71.11 kB / 0.491 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1627, allocations: 44.48 kB / 0.4911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1627, allocations: 0 / 0.4911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03134/0.1941, allocations: 16.48 MB / 0.5072 GB, free: 13.23 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.011756620020606]