Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.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.09888/0.09888, allocations: 11.16 MB / 30.71 MB, free: 4.453 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.0008936/0.0008936, allocations: 107 kB / 38.41 MB, free: 6.988 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.001073/0.001073, allocations: 164.5 kB / 46.17 MB, free: 10.32 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 1.02/1.02, allocations: 177.1 MB / 231 MB, free: 2.012 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.2259/0.2259, allocations: 17.62 MB / 309.5 MB, free: 1.93 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_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 391.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.561e-05, allocations: 5.266 kB / 391.2 MB, free: 4.688 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_4element): time 0.3543/0.3543, allocations: 67.24 MB / 458.5 MB, free: 46.59 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.005856/0.3602, allocations: 4.525 MB / 463 MB, free: 46.29 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.3609, allocations: 23.09 kB / 463 MB, free: 46.28 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008164/0.3618, allocations: 210.4 kB / 463.2 MB, free: 46.21 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006122/0.3679, allocations: 2.555 MB / 465.8 MB, free: 45.48 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00534/0.3732, allocations: 2.162 MB / 468 MB, free: 44.78 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.3748, allocations: 1.358 MB / 469.3 MB, free: 44.46 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.3753, allocations: 389.5 kB / 469.7 MB, free: 44.43 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.3775, allocations: 1.329 MB / 471 MB, free: 44.15 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008688/0.3784, allocations: 0.4887 MB / 471.5 MB, free: 44.11 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.3785, allocations: 54.12 kB / 471.6 MB, free: 44.11 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004114/0.3826, allocations: 1.626 MB / 473.2 MB, free: 43.92 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3828, allocations: 172.2 kB / 473.4 MB, free: 43.89 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.3831, allocations: 245.1 kB / 473.6 MB, free: 43.87 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.3883, allocations: 2.269 MB / 475.9 MB, free: 43.46 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3883, allocations: 4 kB / 475.9 MB, free: 43.46 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3883, allocations: 1.469 kB / 475.9 MB, free: 43.46 MB / 394.8 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3883, allocations: 0 / 475.9 MB, free: 43.46 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002125/0.3904, allocations: 1.141 MB / 477 MB, free: 42.75 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3904, allocations: 8.938 kB / 477 MB, free: 42.75 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.3906, allocations: 93.06 kB / 477.1 MB, free: 42.72 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.3912, allocations: 380.6 kB / 477.5 MB, free: 42.52 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/0.3912, allocations: 32.84 kB / 477.5 MB, free: 42.52 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.3913, allocations: 42.66 kB / 477.6 MB, free: 42.52 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.392, allocations: 464.3 kB / 478 MB, free: 42.38 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.392, allocations: 3.938 kB / 478 MB, free: 42.37 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.392, allocations: 15.44 kB / 478 MB, free: 42.37 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.3921, allocations: 16.17 kB / 478 MB, free: 42.37 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.3926, allocations: 284.9 kB / 478.3 MB, free: 42.36 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.002068/0.3947, allocations: 1.671 MB / 480 MB, free: 41.47 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.3952, allocations: 270 kB / 480.3 MB, free: 41.43 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.3955, allocations: 159.4 kB / 480.4 MB, free: 41.4 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009446/0.3964, allocations: 0.722 MB / 481.1 MB, free: 41.05 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.3967, allocations: 206 kB / 481.3 MB, free: 40.95 MB / 394.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001503/0.3968, allocations: 54.45 kB / 481.4 MB, free: 40.93 MB / 394.8 MB Notification: Performance of pre-optimization done (n=41): time 3.357e-06/0.3968, allocations: 1.375 kB / 481.4 MB, free: 40.93 MB / 394.8 MB Notification: Performance of matching and sorting (n=41): time 0.001001/0.3978, allocations: 452.5 kB / 481.8 MB, free: 40.84 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3979, allocations: 64.42 kB / 481.9 MB, free: 40.78 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004373/0.3983, allocations: 393.2 kB / 482.3 MB, free: 40.59 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3983, allocations: 35.61 kB / 482.3 MB, free: 40.56 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3985, allocations: 300.8 kB / 482.6 MB, free: 40.36 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.074e-05/0.3986, allocations: 150 kB / 482.8 MB, free: 40.27 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3987, allocations: 104.8 kB / 482.9 MB, free: 40.24 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.3988, allocations: 0.5269 MB / 483.4 MB, free: 39.75 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.399, allocations: 80.98 kB / 483.5 MB, free: 39.75 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.3992, allocations: 210.3 kB / 483.7 MB, free: 39.61 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.0008826/0.4001, allocations: 0.5253 MB / 484.2 MB, free: 39.45 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4001, allocations: 0 / 484.2 MB, free: 39.45 MB / 394.8 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008286/0.4009, allocations: 430.5 kB / 484.6 MB, free: 39.34 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4009, allocations: 13.28 kB / 484.6 MB, free: 39.34 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.4009, allocations: 1.844 kB / 484.6 MB, free: 39.34 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.4012, allocations: 66.47 kB / 484.7 MB, free: 39.31 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.4015, allocations: 99.8 kB / 484.8 MB, free: 39.3 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004871/0.402, allocations: 1.607 MB / 486.4 MB, free: 37.71 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.4023, allocations: 26.19 kB / 486.4 MB, free: 37.7 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.4023, allocations: 26.72 kB / 486.4 MB, free: 37.7 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 (55): * Single equations (assignments): 51 * 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.0001548/0.4025, allocations: 188.5 kB / 486.6 MB, free: 37.52 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.4025, allocations: 49.83 kB / 486.7 MB, free: 37.5 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007428/0.4033, allocations: 452.3 kB / 487.1 MB, free: 37.34 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4033, allocations: 10.64 kB / 487.1 MB, free: 37.33 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4033, allocations: 1.25 kB / 487.1 MB, free: 37.33 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4033, allocations: 0 / 487.1 MB, free: 37.33 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.4044, allocations: 0.8525 MB / 488 MB, free: 36.83 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4044, allocations: 1.125 kB / 488 MB, free: 36.83 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.4047, allocations: 70.67 kB / 488.1 MB, free: 36.82 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.4048, allocations: 58.09 kB / 488.1 MB, free: 36.79 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4048, allocations: 12.38 kB / 488.1 MB, free: 36.78 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003668/0.4052, allocations: 1.6 MB / 489.7 MB, free: 35.17 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4052, allocations: 1.156 kB / 489.7 MB, free: 35.17 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.4059, allocations: 0.6067 MB / 490.3 MB, free: 34.84 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4061, allocations: 79.25 kB / 490.4 MB, free: 34.79 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.4061, allocations: 7.875 kB / 490.4 MB, free: 34.79 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4063, allocations: 17.03 kB / 490.4 MB, free: 34.78 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.4064, allocations: 35.73 kB / 490.5 MB, free: 34.77 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.4064, allocations: 17.86 kB / 490.5 MB, free: 34.77 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001855/0.4066, allocations: 262.1 kB / 490.7 MB, free: 34.62 MB / 394.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4066, allocations: 1.812 kB / 490.7 MB, free: 34.62 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.001673/0.4083, allocations: 0.5855 MB / 491.3 MB, free: 34.43 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * 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 (38): * Single equations (assignments): 32 * 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.001413/0.4097, allocations: 0.9403 MB / 492.3 MB, free: 34.14 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.4103, allocations: 307.9 kB / 492.6 MB, free: 34.07 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4103, allocations: 0 / 492.6 MB, free: 34.07 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.4105, allocations: 170.4 kB / 492.7 MB, free: 34.03 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.4113, allocations: 219.7 kB / 493 MB, free: 33.95 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.002771/0.4141, allocations: 1.02 MB / 494 MB, free: 33.38 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.578e-05/0.4142, allocations: 123.5 kB / 494.1 MB, free: 33.3 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0002643/0.4144, allocations: 98.06 kB / 494.2 MB, free: 33.27 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4146, allocations: 60.59 kB / 494.2 MB, free: 33.25 MB / 394.8 MB Notification: Performance of SimCode: time 1.132e-06/0.4146, allocations: 0 / 494.2 MB, free: 33.25 MB / 394.8 MB Notification: Performance of Templates: time 0.0254/0.44, allocations: 22.97 MB / 0.5051 GB, free: 27.38 MB / 394.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.978024479933083]