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.0516/0.0516, allocations: 11.14 MB / 31 MB, free: 4.781 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.0009247/0.0009247, allocations: 92.8 kB / 38.74 MB, free: 6.844 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.0009609/0.0009609, allocations: 170.3 kB / 42.15 MB, free: 3.516 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.9285/0.9285, allocations: 177.1 MB / 222.6 MB, free: 5.863 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.1878/0.1878, allocations: 17.62 MB / 296.7 MB, free: 1.207 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.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.152e-06/1.152e-06, allocations: 0 / 320.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.723e-05, allocations: 5.047 kB / 320.9 MB, free: 14.14 MB / 298.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.07339/0.07341, allocations: 66.27 MB / 387.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005636/0.07905, allocations: 3.703 MB / 390.9 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003729/0.07942, allocations: 19.81 kB / 390.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.07993, allocations: 162.7 kB / 391.1 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00612/0.08605, allocations: 2.328 MB / 393.4 MB, free: 5.711 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.08909, allocations: 1.184 MB / 394.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.09051, allocations: 1.09 MB / 395.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.09101, allocations: 259 kB / 395.9 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.09356, allocations: 1.17 MB / 397.1 MB, free: 1.988 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.09415, allocations: 346.9 kB / 397.4 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.09421, allocations: 36 kB / 397.5 MB, free: 1.613 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.09756, allocations: 1.446 MB / 398.9 MB, free: 168 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.09769, allocations: 135.5 kB / 399 MB, free: 32 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.09791, allocations: 187.8 kB / 399.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.1006, allocations: 1.942 MB / 401.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1006, allocations: 0 / 401.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1006, allocations: 0 / 401.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1006, allocations: 0 / 401.2 MB, free: 13.89 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.001287/0.1019, allocations: 0.8688 MB / 402 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1019, allocations: 12.02 kB / 402.1 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.102, allocations: 63.89 kB / 402.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.1024, allocations: 295.7 kB / 402.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.1025, allocations: 24.66 kB / 402.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.918e-05/0.1025, allocations: 32 kB / 402.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.103, allocations: 332.7 kB / 402.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.103, allocations: 3.953 kB / 402.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.103, allocations: 16 kB / 402.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.103, allocations: 8 kB / 402.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.1033, allocations: 133.8 kB / 402.9 MB, free: 12.04 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.001568/0.1048, allocations: 1.075 MB / 404 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.1051, allocations: 228.8 kB / 404.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1052, allocations: 64.75 kB / 404.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.106, allocations: 0.4971 MB / 404.8 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.1062, allocations: 144.3 kB / 404.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.1062, allocations: 4 kB / 404.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004874/0.1067, allocations: 227 kB / 405.2 MB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.1067, allocations: 55.41 kB / 405.2 MB, free: 9.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.107, allocations: 312.5 kB / 405.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.107, allocations: 29.7 kB / 405.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1071, allocations: 204.9 kB / 405.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.1072, allocations: 107 kB / 405.9 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1073, allocations: 82.09 kB / 405.9 MB, free: 8.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1074, allocations: 346.7 kB / 406.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1076, allocations: 67.73 kB / 406.3 MB, free: 8.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1077, allocations: 138.4 kB / 406.5 MB, free: 8.316 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.1084, allocations: 376.8 kB / 406.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1084, allocations: 0 / 406.8 MB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004648/0.1089, allocations: 263.3 kB / 407.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1089, allocations: 8.062 kB / 407.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1089, allocations: 4 kB / 407.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.109, allocations: 24.84 kB / 407.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1093, allocations: 83.83 kB / 407.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002725/0.1096, allocations: 0.525 MB / 407.7 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1098, allocations: 39.73 kB / 407.8 MB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.1098, allocations: 16.05 kB / 407.8 MB, free: 6.922 MB / 378.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.0001308/0.11, allocations: 140.5 kB / 407.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.11, allocations: 31.97 kB / 408 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004211/0.1104, allocations: 255.2 kB / 408.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1104, allocations: 4 kB / 408.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1104, allocations: 0 / 408.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1104, allocations: 4 kB / 408.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006943/0.1111, allocations: 0.5001 MB / 408.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1111, allocations: 0 / 408.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.1113, allocations: 47.91 kB / 408.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.116e-05/0.1114, allocations: 24.84 kB / 408.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1114, allocations: 4 kB / 408.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002469/0.1117, allocations: 0.5251 MB / 409.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1117, allocations: 4 kB / 409.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.1121, allocations: 375.5 kB / 409.7 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1122, allocations: 43.69 kB / 409.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.1123, allocations: 11.98 kB / 409.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1124, allocations: 7.938 kB / 409.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1125, allocations: 27.95 kB / 409.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.1125, allocations: 12.08 kB / 409.8 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.1127, allocations: 131.5 kB / 409.9 MB, free: 4.676 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1127, allocations: 3.938 kB / 409.9 MB, free: 4.672 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009935/0.1137, allocations: 0.4944 MB / 410.4 MB, free: 4.176 MB / 378.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.001286/0.1149, allocations: 0.8364 MB / 411.3 MB, free: 3.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.1153, allocations: 190.7 kB / 411.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1153, allocations: 4 kB / 411.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1155, allocations: 86.09 kB / 411.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.1161, allocations: 172.1 kB / 411.7 MB, free: 2.883 MB / 378.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.001813/0.118, allocations: 0.8239 MB / 412.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.118, allocations: 113.2 kB / 412.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1182, allocations: 59.19 kB / 412.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.1184, allocations: 189.1 kB / 412.9 MB, free: 1.652 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1184, allocations: 0 / 412.9 MB, free: 1.652 MB / 378.7 MB Notification: Performance of Templates: time 0.01828/0.1367, allocations: 19.3 MB / 432.2 MB, free: 14.48 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2665741718374193]