Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.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.08277/0.08277, allocations: 11.15 MB / 31.01 MB, free: 4.352 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.0008735/0.0008735, allocations: 88.81 kB / 38.74 MB, free: 6.691 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.0009588/0.0009588, allocations: 170.2 kB / 42.15 MB, free: 3.359 MB / 33.03 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 0.9492/0.9492, allocations: 177.2 MB / 222.6 MB, free: 6.305 MB / 202.7 MB " [Timeout remaining time 179] 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.2012/0.2012, allocations: 17.61 MB / 296.7 MB, free: 1.262 MB / 266.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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 320.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.218e-05, allocations: 6.312 kB / 320.9 MB, free: 14.14 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596: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:596:7-596: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.MinimalCirculation): time 0.1272/0.1272, allocations: 67.78 MB / 388.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00711/0.1343, allocations: 6.546 MB / 395.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003516/0.1346, allocations: 27.75 kB / 395.3 MB, free: 3.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.1353, allocations: 198.4 kB / 395.5 MB, free: 3.637 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002648/0.138, allocations: 1.614 MB / 397.1 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00392/0.1419, allocations: 2.255 MB / 399.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009424/0.1428, allocations: 1.523 MB / 400.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.1432, allocations: 352.8 kB / 401.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1448, allocations: 1.35 MB / 402.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004891/0.1453, allocations: 486.5 kB / 403 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1454, allocations: 52 kB / 403.1 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.1471, allocations: 1.344 MB / 404.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.1472, allocations: 179.3 kB / 404.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1474, allocations: 263.4 kB / 404.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1492, allocations: 1.915 MB / 406.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1492, allocations: 0 / 406.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1492, allocations: 0 / 406.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1492, allocations: 3.938 kB / 406.8 MB, free: 8.27 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001066/0.1503, allocations: 1.042 MB / 407.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.257e-05/0.1503, allocations: 12.03 kB / 407.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1504, allocations: 75.92 kB / 407.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1507, allocations: 361.8 kB / 408.3 MB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.1508, allocations: 37 kB / 408.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.1508, allocations: 44 kB / 408.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.1512, allocations: 473.9 kB / 408.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1513, allocations: 0 / 408.8 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1513, allocations: 20 kB / 408.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1513, allocations: 12 kB / 408.8 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1515, allocations: 185.6 kB / 409 MB, free: 5.922 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.001279/0.1528, allocations: 1.433 MB / 410.4 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1531, allocations: 281.8 kB / 410.7 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1532, allocations: 100.7 kB / 410.8 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.1539, allocations: 0.6257 MB / 411.4 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.1541, allocations: 217.1 kB / 411.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.283e-06/0.1541, allocations: 0 / 411.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.0003776/0.1545, allocations: 266 kB / 411.9 MB, free: 2.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1545, allocations: 59.41 kB / 412 MB, free: 2.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1547, allocations: 392.8 kB / 412.4 MB, free: 2.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1547, allocations: 37.7 kB / 412.4 MB, free: 2.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1548, allocations: 261.1 kB / 412.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.1549, allocations: 138.8 kB / 412.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.155, allocations: 106.2 kB / 412.9 MB, free: 1.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.1551, allocations: 362.7 kB / 413.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1552, allocations: 109.8 kB / 413.3 MB, free: 1.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.1554, allocations: 235.2 kB / 413.6 MB, free: 1.117 MB / 378.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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.1562, allocations: 0.7227 MB / 414.3 MB, free: 328 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1562, allocations: 0 / 414.3 MB, free: 328 kB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004291/0.1566, allocations: 408.1 kB / 414.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1566, allocations: 29.7 kB / 414.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1566, allocations: 4 kB / 414.7 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-05/0.1567, allocations: 37.34 kB / 414.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.157, allocations: 119.8 kB / 414.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001927/0.1572, allocations: 0.5288 MB / 415.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.1574, allocations: 63.61 kB / 415.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.1574, allocations: 23.94 kB / 415.5 MB, free: 15.06 MB / 394.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0001151/0.1575, allocations: 157.1 kB / 415.7 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.1575, allocations: 39.95 kB / 415.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.1579, allocations: 266.8 kB / 416 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1579, allocations: 11.92 kB / 416 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1579, allocations: 0 / 416 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1579, allocations: 0 / 416 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.1581, allocations: 257.8 kB / 416.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1581, allocations: 0 / 416.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1583, allocations: 71.89 kB / 416.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.754e-05/0.1583, allocations: 24.84 kB / 416.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.1584, allocations: 11.98 kB / 416.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001747/0.1585, allocations: 0.5288 MB / 416.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1585, allocations: 0 / 416.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1589, allocations: 331.7 kB / 417.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.159, allocations: 67.62 kB / 417.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.159, allocations: 8 kB / 417.3 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1591, allocations: 15.98 kB / 417.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1592, allocations: 43.92 kB / 417.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1592, allocations: 4 kB / 417.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1593, allocations: 171.4 kB / 417.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1593, allocations: 0 / 417.5 MB, free: 12.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006959/0.16, allocations: 0.5139 MB / 418 MB, free: 12.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (arteries.enthalpy,arteries.substanceMasses[1],veins.enthalpy,veins.substanceMasses[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.0008934/0.1609, allocations: 0.758 MB / 418.8 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.1614, allocations: 345.4 kB / 419.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.1614, allocations: 4 kB / 419.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1615, allocations: 130.2 kB / 419.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.162, allocations: 254.3 kB / 419.5 MB, free: 10.98 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1637, allocations: 0.9979 MB / 420.5 MB, free: 9.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.817e-05/0.1637, allocations: 129.7 kB / 420.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.164, allocations: 100.4 kB / 420.7 MB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.1643, allocations: 229.1 kB / 420.9 MB, free: 9.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1643, allocations: 3.938 kB / 420.9 MB, free: 9.469 MB / 394.7 MB Notification: Performance of Templates: time 0.01935/0.1837, allocations: 20.53 MB / 441.4 MB, free: 5.105 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.327772900927812]