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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09425/0.09425, allocations: 15.52 MB / 33.01 MB, free: 3.043 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 116 kB / 40.49 MB, free: 440 kB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 196.4 kB / 48.07 MB, free: 1.57 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 281.1 MB, free: 6.941 MB / 206.1 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.2582/0.2582, allocations: 23.69 MB / 364.3 MB, free: 6.504 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 0.003155/0.003155, allocations: 122.7 kB / 0.4944 GB, free: 47.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.1013, allocations: 62.64 MB / 0.5555 GB, free: 16.06 MB / 398.1 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.08956/0.1909, allocations: 75.58 MB / 0.6293 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02499/0.2159, allocations: 19 MB / 0.6479 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007489/0.2166, allocations: 19.88 kB / 0.6479 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008921/0.2175, allocations: 234.3 kB / 0.6481 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006701/0.2242, allocations: 2.368 MB / 0.6504 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.2288, allocations: 1.604 MB / 0.652 GB, free: 252 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.2306, allocations: 1.188 MB / 0.6532 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006284/0.2312, allocations: 291.7 kB / 0.6535 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.2339, allocations: 1.073 MB / 0.6545 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000916/0.2348, allocations: 478.1 kB / 0.655 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2349, allocations: 44 kB / 0.655 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/0.2396, allocations: 1.778 MB / 0.6567 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.2399, allocations: 143.4 kB / 0.6569 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.2403, allocations: 282.8 kB / 0.6571 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.2463, allocations: 2.187 MB / 0.6593 GB, free: 8.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2463, allocations: 0 / 0.6593 GB, free: 8.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2463, allocations: 0 / 0.6593 GB, free: 8.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.2463, allocations: 4 kB / 0.6593 GB, free: 8.773 MB / 494.1 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.002503/0.2488, allocations: 1.061 MB / 0.6603 GB, free: 7.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2488, allocations: 8.031 kB / 0.6603 GB, free: 7.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.249, allocations: 55.67 kB / 0.6604 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.2498, allocations: 410.6 kB / 0.6608 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.2498, allocations: 36.94 kB / 0.6608 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.2499, allocations: 36 kB / 0.6608 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.2508, allocations: 444.6 kB / 0.6613 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2508, allocations: 4 kB / 0.6613 GB, free: 6.625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.2509, allocations: 16 kB / 0.6613 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.2509, allocations: 12 kB / 0.6613 GB, free: 6.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.2517, allocations: 379.7 kB / 0.6617 GB, free: 6.227 MB / 494.1 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.00312/0.2549, allocations: 2.208 MB / 0.6638 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.2555, allocations: 327 kB / 0.6641 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.2559, allocations: 165 kB / 0.6643 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.2573, allocations: 0.9941 MB / 0.6653 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004329/0.2577, allocations: 216.5 kB / 0.6655 GB, free: 1.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/0.2577, allocations: 0 / 0.6655 GB, free: 1.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001612/0.2593, allocations: 0.713 MB / 0.6662 GB, free: 1.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.2594, allocations: 63.41 kB / 0.6662 GB, free: 1.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.2598, allocations: 397.5 kB / 0.6666 GB, free: 0.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.2599, allocations: 33.7 kB / 0.6666 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.2601, allocations: 232.4 kB / 0.6669 GB, free: 492 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2602, allocations: 127 kB / 0.667 GB, free: 364 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2603, allocations: 86.06 kB / 0.6671 GB, free: 272 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2605, allocations: 354.7 kB / 0.6674 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.2608, allocations: 152.8 kB / 0.6675 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.2612, allocations: 229.7 kB / 0.6678 GB, free: 15.5 MB / 0.4981 GB 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.002308/0.2635, allocations: 0.9509 MB / 0.6687 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2635, allocations: 0 / 0.6687 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001051/0.2646, allocations: 0.519 MB / 0.6692 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2646, allocations: 10.97 kB / 0.6692 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2646, allocations: 4 kB / 0.6692 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.2649, allocations: 73.95 kB / 0.6693 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.2652, allocations: 83.83 kB / 0.6694 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.2661, allocations: 1.12 MB / 0.6705 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.2664, allocations: 55.81 kB / 0.6705 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.2665, allocations: 15.98 kB / 0.6705 GB, free: 12.55 MB / 0.4981 GB 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.0002236/0.2667, allocations: 176.8 kB / 0.6707 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.2668, allocations: 43.72 kB / 0.6707 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000999/0.2678, allocations: 484.9 kB / 0.6712 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.2678, allocations: 4 kB / 0.6712 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2678, allocations: 0 / 0.6712 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2678, allocations: 3.984 kB / 0.6712 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2694, allocations: 0.9733 MB / 0.6722 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2694, allocations: 0 / 0.6722 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.2696, allocations: 43.91 kB / 0.6722 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.2698, allocations: 77.7 kB / 0.6723 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.2698, allocations: 16.02 kB / 0.6723 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008315/0.2707, allocations: 1.109 MB / 0.6734 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2707, allocations: 4.031 kB / 0.6734 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.272, allocations: 0.6788 MB / 0.674 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.2722, allocations: 160.7 kB / 0.6742 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.2723, allocations: 8 kB / 0.6742 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.2726, allocations: 20.05 kB / 0.6742 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.2727, allocations: 27.89 kB / 0.6742 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.2727, allocations: 12 kB / 0.6742 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003317/0.273, allocations: 283.1 kB / 0.6745 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.273, allocations: 0 / 0.6745 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001449/0.2745, allocations: 0.5294 MB / 0.675 GB, free: 7.734 MB / 0.4981 GB 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.001678/0.2762, allocations: 0.8375 MB / 0.6759 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009599/0.2771, allocations: 371.6 kB / 0.6762 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2771, allocations: 0 / 0.6762 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.2775, allocations: 163.8 kB / 0.6764 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.2786, allocations: 221.1 kB / 0.6766 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.2806, allocations: 0.9371 MB / 0.6775 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.2811, allocations: 0.8235 MB / 0.6783 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.2813, allocations: 84.16 kB / 0.6784 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.2815, allocations: 51.36 kB / 0.6784 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.2815, allocations: 0 / 0.6784 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of Templates: time 0.2638/0.5452, allocations: 18.41 MB / 0.6964 GB, free: 111.1 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687580784782767]