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.06335/0.06335, allocations: 11.15 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.00106/0.00106, allocations: 102.4 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.0016/0.0016, 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.043/1.043, allocations: 177.2 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.2535/0.2535, allocations: 17.62 MB / 309.5 MB, free: 1.91 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.242e-06/1.242e-06, allocations: 0 / 391.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.911e-05, allocations: 5.266 kB / 391.2 MB, free: 4.676 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.3221/0.3221, allocations: 63.94 MB / 455.2 MB, free: 46.54 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.005188/0.3273, allocations: 4.116 MB / 459.3 MB, free: 46.46 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.3278, allocations: 19.03 kB / 459.3 MB, free: 46.46 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.3283, allocations: 197.2 kB / 459.5 MB, free: 46.46 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.3336, allocations: 2.446 MB / 461.9 MB, free: 46.07 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.3369, allocations: 1.68 MB / 463.6 MB, free: 45.53 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.338, allocations: 1.199 MB / 464.8 MB, free: 45.24 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003935/0.3384, allocations: 298.1 kB / 465.1 MB, free: 45.22 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.3402, allocations: 1.225 MB / 466.3 MB, free: 44.96 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.3408, allocations: 413.4 kB / 466.7 MB, free: 44.91 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.3408, allocations: 46.69 kB / 466.8 MB, free: 44.91 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.3439, allocations: 1.507 MB / 468.3 MB, free: 44.74 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.344, allocations: 142.8 kB / 468.4 MB, free: 44.72 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3442, allocations: 208.4 kB / 468.6 MB, free: 44.7 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.3475, allocations: 2.08 MB / 470.7 MB, free: 44.3 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3475, allocations: 0 / 470.7 MB, free: 44.3 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3475, allocations: 3.062 kB / 470.7 MB, free: 44.3 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3475, allocations: 4 kB / 470.7 MB, free: 44.3 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.001746/0.3493, allocations: 1.061 MB / 471.8 MB, free: 43.62 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.3494, allocations: 9.375 kB / 471.8 MB, free: 43.62 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3495, allocations: 85.38 kB / 471.9 MB, free: 43.59 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.35, allocations: 353.8 kB / 472.2 MB, free: 43.39 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.35, allocations: 30.28 kB / 472.3 MB, free: 43.39 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.3501, allocations: 42.66 kB / 472.3 MB, free: 43.39 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.3506, allocations: 388.7 kB / 472.7 MB, free: 43.25 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3507, allocations: 3.938 kB / 472.7 MB, free: 43.25 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3507, allocations: 18.84 kB / 472.7 MB, free: 43.25 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.3507, allocations: 9.625 kB / 472.7 MB, free: 43.25 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.351, allocations: 197.9 kB / 472.9 MB, free: 43.24 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.001559/0.3526, allocations: 1.521 MB / 474.4 MB, free: 42.37 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.3529, allocations: 242.5 kB / 474.7 MB, free: 42.32 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.353, allocations: 90.61 kB / 474.8 MB, free: 42.31 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.3536, allocations: 0.6327 MB / 475.4 MB, free: 41.96 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.3538, allocations: 173 kB / 475.6 MB, free: 41.88 MB / 394.8 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.3538, allocations: 0 / 475.6 MB, free: 41.88 MB / 394.8 MB Notification: Performance of matching and sorting (n=35): time 0.0007068/0.3545, allocations: 393.3 kB / 475.9 MB, free: 41.79 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3545, allocations: 60.38 kB / 476 MB, free: 41.72 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3548, allocations: 382.5 kB / 476.4 MB, free: 41.54 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.3548, allocations: 35.92 kB / 476.4 MB, free: 41.5 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3549, allocations: 298.1 kB / 476.7 MB, free: 41.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.355, allocations: 127.9 kB / 476.8 MB, free: 41.22 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.3551, allocations: 88 kB / 476.9 MB, free: 41.2 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.3551, allocations: 0.5237 MB / 477.4 MB, free: 40.7 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3553, allocations: 65.67 kB / 477.5 MB, free: 40.7 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3554, allocations: 191.1 kB / 477.7 MB, free: 40.57 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.0006532/0.3561, allocations: 441.4 kB / 478.1 MB, free: 40.41 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3561, allocations: 0 / 478.1 MB, free: 40.41 MB / 394.8 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005042/0.3566, allocations: 387.3 kB / 478.5 MB, free: 40.3 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3566, allocations: 8.938 kB / 478.5 MB, free: 40.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3566, allocations: 2.281 kB / 478.5 MB, free: 40.3 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.3568, allocations: 56.84 kB / 478.6 MB, free: 40.28 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3571, allocations: 85.08 kB / 478.6 MB, free: 40.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000426/0.3575, allocations: 1.607 MB / 480.2 MB, free: 38.68 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3576, allocations: 42.16 kB / 480.3 MB, free: 38.66 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3577, allocations: 16.44 kB / 480.3 MB, free: 38.66 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.0001177/0.3578, allocations: 193.8 kB / 480.5 MB, free: 38.48 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3578, allocations: 50.77 kB / 480.5 MB, free: 38.46 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005162/0.3584, allocations: 359.2 kB / 480.9 MB, free: 38.36 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.3584, allocations: 3.484 kB / 480.9 MB, free: 38.36 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3584, allocations: 3.984 kB / 480.9 MB, free: 38.35 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3584, allocations: 0 / 480.9 MB, free: 38.35 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.3592, allocations: 0.7666 MB / 481.7 MB, free: 37.99 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3592, allocations: 1.156 kB / 481.7 MB, free: 37.99 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3594, allocations: 45.47 kB / 481.7 MB, free: 37.99 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.3595, allocations: 60.2 kB / 481.8 MB, free: 37.96 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3595, allocations: 9.438 kB / 481.8 MB, free: 37.96 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.3598, allocations: 1.609 MB / 483.4 MB, free: 36.36 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3599, allocations: 1.125 kB / 483.4 MB, free: 36.36 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.3604, allocations: 0.5187 MB / 483.9 MB, free: 36.1 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.3605, allocations: 70.16 kB / 484 MB, free: 36.08 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.3605, allocations: 9.031 kB / 484 MB, free: 36.08 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3606, allocations: 12.11 kB / 484 MB, free: 36.08 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.3607, allocations: 32.53 kB / 484 MB, free: 36.07 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3607, allocations: 15.28 kB / 484 MB, free: 36.07 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3609, allocations: 263 kB / 484.3 MB, free: 35.94 MB / 394.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3609, allocations: 3.938 kB / 484.3 MB, free: 35.94 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.001175/0.3621, allocations: 0.5374 MB / 484.8 MB, free: 35.77 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.001263/0.3633, allocations: 0.8735 MB / 485.7 MB, free: 35.5 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.3638, allocations: 249.5 kB / 486 MB, free: 35.44 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3638, allocations: 4.875 kB / 486 MB, free: 35.44 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.364, allocations: 123.9 kB / 486.1 MB, free: 35.41 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.3646, allocations: 199.3 kB / 486.3 MB, free: 35.34 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.002214/0.3668, allocations: 0.8831 MB / 487.2 MB, free: 34.82 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.3669, allocations: 113.6 kB / 487.3 MB, free: 34.75 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.3671, allocations: 71.7 kB / 487.3 MB, free: 34.73 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.3672, allocations: 48.56 kB / 487.4 MB, free: 34.72 MB / 394.8 MB Notification: Performance of SimCode: time 1.252e-06/0.3672, allocations: 0 / 487.4 MB, free: 34.72 MB / 394.8 MB Notification: Performance of Templates: time 0.02348/0.3907, allocations: 21.09 MB / 0.4966 GB, free: 30.26 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.9083745991811156]