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.09646/0.09646, allocations: 11.16 MB / 30.51 MB, free: 4.449 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.001362/0.001362, allocations: 97.84 kB / 38.14 MB, free: 7.09 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.001572/0.001572, allocations: 160.5 kB / 45.85 MB, free: 10.48 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.416/1.416, allocations: 177.2 MB / 230.6 MB, free: 4.777 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.1509/0.1509, allocations: 17.63 MB / 309.1 MB, free: 8.785 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 2.134e-06/2.134e-06, allocations: 0 / 390.4 MB, free: 46.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.103e-05, allocations: 8.125 kB / 390.4 MB, free: 46.55 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.08862/0.08865, allocations: 64.53 MB / 454.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02025/0.1089, allocations: 13.82 MB / 468.8 MB, free: 332 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005284/0.1094, allocations: 19.81 kB / 468.8 MB, free: 312 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/0.1101, allocations: 202.5 kB / 469 MB, free: 108 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.1162, allocations: 2.336 MB / 471.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.1195, allocations: 1.2 MB / 472.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.1209, allocations: 1.082 MB / 473.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.1214, allocations: 267 kB / 473.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.124, allocations: 1.182 MB / 475 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.1247, allocations: 370.9 kB / 475.4 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.52e-05/0.1247, allocations: 40 kB / 475.4 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.1282, allocations: 1.395 MB / 476.8 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.1284, allocations: 135.5 kB / 477 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.1287, allocations: 187.6 kB / 477.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.1324, allocations: 2.07 MB / 479.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1324, allocations: 8 kB / 479.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1324, allocations: 0 / 479.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1324, allocations: 0 / 479.2 MB, free: 5.805 MB / 378.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.001885/0.1343, allocations: 0.9053 MB / 480.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1343, allocations: 12.03 kB / 480.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.1345, allocations: 79.61 kB / 480.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.1351, allocations: 328.9 kB / 480.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.1352, allocations: 32.66 kB / 480.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1353, allocations: 39.98 kB / 480.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.1361, allocations: 421.3 kB / 481 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.1362, allocations: 0 / 481 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.1362, allocations: 16 kB / 481 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.1362, allocations: 11.94 kB / 481.1 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.137, allocations: 330.4 kB / 481.4 MB, free: 3.566 MB / 378.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.002796/0.1398, allocations: 1.288 MB / 482.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.1405, allocations: 294.5 kB / 483 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.1408, allocations: 148.7 kB / 483.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.142, allocations: 0.5819 MB / 483.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.1424, allocations: 221.5 kB / 483.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.1424, allocations: 0 / 483.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001327/0.1438, allocations: 478.8 kB / 484.4 MB, free: 488 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.1438, allocations: 67.33 kB / 484.4 MB, free: 408 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.1443, allocations: 344.4 kB / 484.8 MB, free: 60 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.1443, allocations: 33.7 kB / 484.8 MB, free: 20 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.1445, allocations: 240.3 kB / 485 MB, free: 15.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1447, allocations: 103.1 kB / 485.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.1448, allocations: 78.17 kB / 485.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.145, allocations: 346.8 kB / 485.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.1453, allocations: 132.9 kB / 485.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1458, allocations: 226.3 kB / 485.9 MB, free: 14.86 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.002563/0.1483, allocations: 0.8089 MB / 486.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1483, allocations: 0 / 486.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001091/0.1494, allocations: 485.9 kB / 487.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1494, allocations: 11.98 kB / 487.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1495, allocations: 3.938 kB / 487.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.1496, allocations: 37.09 kB / 487.2 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.15, allocations: 79.89 kB / 487.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005283/0.1505, allocations: 0.5523 MB / 487.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.1508, allocations: 39.77 kB / 487.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.1509, allocations: 19.98 kB / 487.9 MB, free: 12.76 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.0002477/0.1511, allocations: 173.6 kB / 488.1 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.1512, allocations: 51.75 kB / 488.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009903/0.1522, allocations: 412.4 kB / 488.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1522, allocations: 4 kB / 488.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1522, allocations: 0 / 488.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1522, allocations: 0 / 488.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.1537, allocations: 0.7664 MB / 489.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1538, allocations: 0 / 489.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.154, allocations: 43.91 kB / 489.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.1541, allocations: 32.84 kB / 489.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.1542, allocations: 15.92 kB / 489.4 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004624/0.1546, allocations: 0.5406 MB / 490 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1546, allocations: 0 / 490 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.1558, allocations: 0.6034 MB / 490.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.156, allocations: 63.69 kB / 490.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.1561, allocations: 12 kB / 490.6 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.1563, allocations: 15.98 kB / 490.6 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.1564, allocations: 31.89 kB / 490.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1564, allocations: 7.984 kB / 490.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1568, allocations: 251.2 kB / 490.9 MB, free: 9.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1568, allocations: 4.062 kB / 490.9 MB, free: 9.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001268/0.158, allocations: 0.4904 MB / 491.4 MB, free: 9.141 MB / 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.001521/0.1596, allocations: 0.8246 MB / 492.3 MB, free: 8.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008513/0.1604, allocations: 329.4 kB / 492.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1604, allocations: 0 / 492.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.1608, allocations: 145.1 kB / 492.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009204/0.1617, allocations: 176.6 kB / 492.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1634, allocations: 0.7781 MB / 493.7 MB, free: 6.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.1637, allocations: 211.6 kB / 493.9 MB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000285/0.1639, allocations: 91.03 kB / 494 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.1641, allocations: 40.48 kB / 494 MB, free: 6.52 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1641, allocations: 0 / 494 MB, free: 6.52 MB / 394.7 MB Notification: Performance of Templates: time 0.02917/0.1932, allocations: 16.48 MB / 0.4985 GB, free: 6.195 MB / 410.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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.249879534938373]