Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.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.05513/0.05513, allocations: 11.15 MB / 31.73 MB, free: 4.301 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.0009449/0.0009449, allocations: 98.48 kB / 39.44 MB, free: 6.758 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.001101/0.001101, allocations: 152.6 kB / 47.23 MB, free: 10.06 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 0.945/0.945, allocations: 177.2 MB / 232.1 MB, free: 1.938 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.178/0.178, allocations: 17.62 MB / 310.7 MB, free: 1.84 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_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 392.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.758e-05, allocations: 6.25 kB / 392.5 MB, free: 4.395 MB / 346.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_3element): time 0.2591/0.2591, allocations: 63.31 MB / 455.8 MB, free: 46.81 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.2627, allocations: 4.032 MB / 459.9 MB, free: 46.73 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002257/0.2629, allocations: 18.47 kB / 459.9 MB, free: 46.73 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.2634, allocations: 200.5 kB / 460.1 MB, free: 46.73 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.2669, allocations: 2.437 MB / 462.5 MB, free: 46.35 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.2693, allocations: 1.681 MB / 464.2 MB, free: 45.9 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006165/0.2699, allocations: 1.205 MB / 465.4 MB, free: 45.61 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.2702, allocations: 290.7 kB / 465.7 MB, free: 45.59 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.2715, allocations: 1.232 MB / 466.9 MB, free: 45.32 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.2718, allocations: 409.7 kB / 467.3 MB, free: 45.28 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2719, allocations: 46.19 kB / 467.4 MB, free: 45.28 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.2735, allocations: 1.505 MB / 468.9 MB, free: 45.11 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 9.527e-05/0.2736, allocations: 146.7 kB / 469 MB, free: 45.09 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.2737, allocations: 205.8 kB / 469.2 MB, free: 45.07 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.2753, allocations: 2.087 MB / 471.3 MB, free: 44.67 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2753, allocations: 0 / 471.3 MB, free: 44.67 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.073e-06/0.2753, allocations: 0 / 471.3 MB, free: 44.67 MB / 394.8 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2753, allocations: 0 / 471.3 MB, free: 44.67 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009282/0.2763, allocations: 1.068 MB / 472.4 MB, free: 43.99 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.2763, allocations: 9.656 kB / 472.4 MB, free: 43.99 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.2764, allocations: 81.48 kB / 472.4 MB, free: 43.96 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.2767, allocations: 354.5 kB / 472.8 MB, free: 43.75 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.2767, allocations: 30.91 kB / 472.8 MB, free: 43.75 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.2767, allocations: 37.66 kB / 472.9 MB, free: 43.75 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2771, allocations: 367.9 kB / 473.2 MB, free: 43.61 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2771, allocations: 3.938 kB / 473.2 MB, free: 43.61 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.2771, allocations: 15.72 kB / 473.2 MB, free: 43.61 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2771, allocations: 7.812 kB / 473.2 MB, free: 43.61 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.2773, allocations: 169.1 kB / 473.4 MB, free: 43.59 MB / 394.8 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.001236/0.2785, allocations: 1.525 MB / 474.9 MB, free: 42.72 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.2788, allocations: 211.8 kB / 475.1 MB, free: 42.68 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.2788, allocations: 79.16 kB / 475.2 MB, free: 42.67 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005235/0.2794, allocations: 0.6393 MB / 475.9 MB, free: 42.32 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.2795, allocations: 159.1 kB / 476 MB, free: 42.23 MB / 394.8 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.2795, allocations: 0 / 476 MB, free: 42.23 MB / 394.8 MB Notification: Performance of matching and sorting (n=35): time 0.0005945/0.2801, allocations: 365 kB / 476.4 MB, free: 42.13 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.2801, allocations: 59.53 kB / 476.4 MB, free: 42.07 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2803, allocations: 378.5 kB / 476.8 MB, free: 41.89 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2804, allocations: 35.7 kB / 476.8 MB, free: 41.86 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2805, allocations: 297.7 kB / 477.1 MB, free: 41.66 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.2805, allocations: 122.4 kB / 477.2 MB, free: 41.58 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.2806, allocations: 91.11 kB / 477.3 MB, free: 41.55 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.2807, allocations: 0.5221 MB / 477.9 MB, free: 41.06 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.2807, allocations: 60.7 kB / 477.9 MB, free: 41.06 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2809, allocations: 183.9 kB / 478.1 MB, free: 40.93 MB / 394.8 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.0004698/0.2813, allocations: 414.5 kB / 478.5 MB, free: 40.77 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2813, allocations: 0 / 478.5 MB, free: 40.77 MB / 394.8 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004187/0.2818, allocations: 363.4 kB / 478.9 MB, free: 40.67 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2818, allocations: 6 kB / 478.9 MB, free: 40.67 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2818, allocations: 7.516 kB / 478.9 MB, free: 40.66 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001407/0.2819, allocations: 66.97 kB / 478.9 MB, free: 40.63 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.2821, allocations: 82.94 kB / 479 MB, free: 40.63 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003314/0.2824, allocations: 1.6 MB / 480.6 MB, free: 39.04 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2826, allocations: 42.8 kB / 480.7 MB, free: 39.02 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2826, allocations: 16.73 kB / 480.7 MB, free: 39.01 MB / 394.8 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 (48): * 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: 2 * 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): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.2827, allocations: 191.9 kB / 480.9 MB, free: 38.84 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.2828, allocations: 47.86 kB / 480.9 MB, free: 38.82 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.2832, allocations: 342.6 kB / 481.2 MB, free: 38.7 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2832, allocations: 3.375 kB / 481.2 MB, free: 38.7 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2832, allocations: 4.938 kB / 481.2 MB, free: 38.7 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2832, allocations: 3.188 kB / 481.3 MB, free: 38.7 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.2839, allocations: 0.6938 MB / 481.9 MB, free: 38.36 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2839, allocations: 0 / 481.9 MB, free: 38.36 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.284, allocations: 37.08 kB / 482 MB, free: 38.36 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.657e-05/0.2841, allocations: 60.53 kB / 482 MB, free: 38.33 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2841, allocations: 16.97 kB / 482.1 MB, free: 38.33 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002669/0.2844, allocations: 1.601 MB / 483.7 MB, free: 36.73 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2844, allocations: 0 / 483.7 MB, free: 36.73 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.2848, allocations: 493.6 kB / 484.1 MB, free: 36.47 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.2849, allocations: 75.5 kB / 484.2 MB, free: 36.45 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.2849, allocations: 12.11 kB / 484.2 MB, free: 36.44 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2851, allocations: 14.66 kB / 484.2 MB, free: 36.44 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2851, allocations: 29.03 kB / 484.3 MB, free: 36.44 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2851, allocations: 10.84 kB / 484.3 MB, free: 36.44 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001095/0.2852, allocations: 247.8 kB / 484.5 MB, free: 36.32 MB / 394.8 MB Notification: Performance of sort global known variables: time 6e-08/0.2852, allocations: 0 / 484.5 MB, free: 36.32 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0008157/0.2861, allocations: 0.5363 MB / 485.1 MB, free: 36.2 MB / 394.8 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 (29): * 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: 2 * 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): 2 systems {(1,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009741/0.287, allocations: 0.9041 MB / 486 MB, free: 35.94 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0003718/0.2874, allocations: 234.2 kB / 486.2 MB, free: 35.9 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2874, allocations: 1 kB / 486.2 MB, free: 35.9 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.2876, allocations: 117.6 kB / 486.3 MB, free: 35.88 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.2882, allocations: 188.7 kB / 486.5 MB, free: 35.84 MB / 394.8 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.001731/0.29, allocations: 0.8761 MB / 487.4 MB, free: 35.38 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/0.29, allocations: 111.3 kB / 487.5 MB, free: 35.3 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.2902, allocations: 71.47 kB / 487.5 MB, free: 35.28 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.2904, allocations: 216 kB / 487.8 MB, free: 35.21 MB / 394.8 MB Notification: Performance of SimCode: time 5.41e-07/0.2904, allocations: 0 / 487.8 MB, free: 35.21 MB / 394.8 MB Notification: Performance of Templates: time 0.01914/0.3096, allocations: 20.98 MB / 0.4968 GB, free: 31 MB / 394.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4809661810286343]