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.0537/0.0537, allocations: 11.15 MB / 31.01 MB, free: 4.777 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.000871/0.000871, allocations: 90.12 kB / 38.74 MB, free: 6.828 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.001273/0.001273, allocations: 170.3 kB / 42.15 MB, free: 3.496 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.9537/0.9537, allocations: 177.2 MB / 222.6 MB, free: 5.84 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.2436/0.2436, allocations: 17.63 MB / 296.7 MB, free: 1.203 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.493e-06/1.493e-06, allocations: 0 / 320.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.99e-05, allocations: 3.719 kB / 320.9 MB, free: 14.12 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_3element): time 0.05561/0.05563, allocations: 69.56 MB / 390.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.0603, allocations: 4.104 MB / 394.6 MB, free: 4.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/0.06063, allocations: 15.88 kB / 394.6 MB, free: 4.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.0611, allocations: 186.5 kB / 394.8 MB, free: 4.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004416/0.06552, allocations: 2.452 MB / 397.2 MB, free: 1.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.06881, allocations: 1.677 MB / 398.9 MB, free: 168 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.06973, allocations: 1.204 MB / 400.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.07004, allocations: 292.6 kB / 400.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.0717, allocations: 1.217 MB / 401.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.07211, allocations: 386.8 kB / 402 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.07216, allocations: 44 kB / 402 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.0747, allocations: 1.559 MB / 403.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.07481, allocations: 143.5 kB / 403.7 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.07496, allocations: 203.6 kB / 403.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.07746, allocations: 2.078 MB / 406 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.07746, allocations: 0 / 406 MB, free: 9.027 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.07747, allocations: 0 / 406 MB, free: 9.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.07747, allocations: 4 kB / 406 MB, free: 9.023 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009846/0.07845, allocations: 0.9389 MB / 407 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.07848, allocations: 8.031 kB / 407 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.07856, allocations: 67.94 kB / 407 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.07891, allocations: 311.7 kB / 407.3 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.07894, allocations: 29 kB / 407.4 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.07898, allocations: 47.94 kB / 407.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.07933, allocations: 365.8 kB / 407.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.07934, allocations: 0 / 407.8 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.07937, allocations: 16 kB / 407.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.07938, allocations: 8 kB / 407.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.07958, allocations: 149.7 kB / 407.9 MB, free: 7.016 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.001245/0.08082, allocations: 1.14 MB / 409.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.08105, allocations: 259.1 kB / 409.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.08114, allocations: 73.11 kB / 409.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005708/0.08171, allocations: 0.533 MB / 409.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.08187, allocations: 153.1 kB / 410.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.08187, allocations: 0 / 410.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.000477/0.08234, allocations: 280.4 kB / 410.4 MB, free: 4.488 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.08238, allocations: 63.34 kB / 410.4 MB, free: 4.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.08257, allocations: 320.9 kB / 410.7 MB, free: 4.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.0826, allocations: 41.64 kB / 410.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.08269, allocations: 209.2 kB / 411 MB, free: 3.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.08275, allocations: 122.9 kB / 411.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.08284, allocations: 90.03 kB / 411.2 MB, free: 3.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.08293, allocations: 350.7 kB / 411.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.08303, allocations: 63.8 kB / 411.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.08318, allocations: 154.4 kB / 411.7 MB, free: 3.016 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.0007565/0.08393, allocations: 394.1 kB / 412.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.08394, allocations: 0 / 412.1 MB, free: 2.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003705/0.08431, allocations: 300.4 kB / 412.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.08432, allocations: 8 kB / 412.4 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.08433, allocations: 4 kB / 412.4 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.08447, allocations: 57.98 kB / 412.5 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.08467, allocations: 87.83 kB / 412.6 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003977/0.08507, allocations: 1.05 MB / 413.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.08521, allocations: 43.72 kB / 413.7 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.08523, allocations: 16 kB / 413.7 MB, free: 0.9727 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 (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.0001112/0.08535, allocations: 144.6 kB / 413.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.08538, allocations: 31.97 kB / 413.9 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.08572, allocations: 283.5 kB / 414.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.08573, allocations: 4 kB / 414.1 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.08573, allocations: 0 / 414.1 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.08573, allocations: 7.984 kB / 414.1 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.0863, allocations: 0.5474 MB / 414.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.0863, allocations: 3.984 kB / 414.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.08644, allocations: 47.91 kB / 414.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.489e-05/0.08653, allocations: 49.72 kB / 414.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.08655, allocations: 4 kB / 414.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003476/0.08689, allocations: 1.058 MB / 415.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.0869, allocations: 3.984 kB / 415.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.08725, allocations: 424.2 kB / 416.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.08733, allocations: 55.61 kB / 416.3 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.08737, allocations: 11.94 kB / 416.3 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.08748, allocations: 16.11 kB / 416.4 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.08754, allocations: 27.95 kB / 416.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.08756, allocations: 15.98 kB / 416.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.08766, allocations: 127.5 kB / 416.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08766, allocations: 0 / 416.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007365/0.0884, allocations: 0.5333 MB / 417.1 MB, free: 13.45 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 (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.000987/0.08938, allocations: 0.8826 MB / 417.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.08971, allocations: 229.8 kB / 418.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.08972, allocations: 8 kB / 418.2 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.08985, allocations: 101.2 kB / 418.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.0903, allocations: 189.4 kB / 418.5 MB, free: 12.04 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.002042/0.09234, allocations: 0.8891 MB / 419.3 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.09241, allocations: 117.7 kB / 419.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.09257, allocations: 59.27 kB / 419.5 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.09283, allocations: 185.2 kB / 419.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.09283, allocations: 0 / 419.7 MB, free: 10.74 MB / 394.7 MB Notification: Performance of Templates: time 0.02114/0.114, allocations: 20.81 MB / 440.5 MB, free: 6.062 MB / 410.7 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3271398288197815]