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.05045/0.05045, allocations: 11.15 MB / 31.01 MB, free: 4.762 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.0008473/0.0008473, allocations: 90.31 kB / 38.74 MB, free: 6.84 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.0008953/0.0008953, allocations: 166.3 kB / 42.15 MB, free: 3.508 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.9228/0.9228, allocations: 177.1 MB / 222.6 MB, free: 6.289 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.1827/0.1827, allocations: 17.62 MB / 296.7 MB, free: 1.281 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.163e-06/1.163e-06, allocations: 0 / 320.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.397e-05, allocations: 2.312 kB / 320.9 MB, free: 14.2 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.04888/0.0489, allocations: 69.51 MB / 390.4 MB, free: 8.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004214/0.05311, allocations: 4.108 MB / 394.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.05338, allocations: 23.75 kB / 394.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.05383, allocations: 186.5 kB / 394.7 MB, free: 4.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.05837, allocations: 2.468 MB / 397.2 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.06122, allocations: 1.689 MB / 398.9 MB, free: 232 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.06204, allocations: 1.2 MB / 400.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.06234, allocations: 308.6 kB / 400.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.06387, allocations: 1.225 MB / 401.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.06426, allocations: 386.8 kB / 402 MB, free: 13.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.06431, allocations: 44 kB / 402 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.06648, allocations: 1.516 MB / 403.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.06659, allocations: 143.5 kB / 403.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.06674, allocations: 211.5 kB / 403.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.06863, allocations: 2.07 MB / 405.9 MB, free: 9.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.06864, allocations: 4 kB / 405.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.06864, allocations: 0 / 405.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.06864, allocations: 0 / 405.9 MB, free: 9.109 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.0009568/0.0696, allocations: 0.9424 MB / 406.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.578e-05/0.06962, allocations: 12.03 kB / 406.9 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.0697, allocations: 67.95 kB / 407 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.07004, allocations: 307.7 kB / 407.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.07007, allocations: 29 kB / 407.3 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.07011, allocations: 39.94 kB / 407.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.07044, allocations: 365.8 kB / 407.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.07045, allocations: 0 / 407.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.07047, allocations: 16 kB / 407.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.07048, allocations: 12 kB / 407.7 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.07067, allocations: 149.7 kB / 407.9 MB, free: 7.102 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.001195/0.07187, allocations: 1.14 MB / 409 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.0721, allocations: 259.1 kB / 409.2 MB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.07218, allocations: 77.03 kB / 409.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/0.07272, allocations: 0.5252 MB / 409.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003795/0.0731, allocations: 161.1 kB / 410 MB, free: 4.855 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.07311, allocations: 0 / 410 MB, free: 4.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004552/0.07356, allocations: 272.4 kB / 410.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.07359, allocations: 67.33 kB / 410.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.07377, allocations: 328.8 kB / 410.7 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.0738, allocations: 37.7 kB / 410.7 MB, free: 4.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.07388, allocations: 205.2 kB / 410.9 MB, free: 3.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.34e-05/0.07395, allocations: 122.9 kB / 411 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.068e-05/0.07403, allocations: 82.09 kB / 411.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.0741, allocations: 354.7 kB / 411.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.0742, allocations: 59.8 kB / 411.5 MB, free: 3.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.07433, allocations: 154.4 kB / 411.7 MB, free: 3.109 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.0004784/0.07481, allocations: 391.3 kB / 412 MB, free: 2.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.07481, allocations: 0 / 412 MB, free: 2.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003576/0.07517, allocations: 300.5 kB / 412.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.07518, allocations: 4 kB / 412.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.07519, allocations: 4 kB / 412.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.07531, allocations: 57.98 kB / 412.4 MB, free: 2.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.07549, allocations: 83.83 kB / 412.5 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000384/0.07587, allocations: 1.05 MB / 413.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.07601, allocations: 39.73 kB / 413.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.07603, allocations: 19.98 kB / 413.6 MB, free: 1.074 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.0001064/0.07614, allocations: 148.6 kB / 413.7 MB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.07618, allocations: 35.95 kB / 413.8 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.0765, allocations: 291.5 kB / 414 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.07651, allocations: 4 kB / 414 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.07651, allocations: 3.938 kB / 414.1 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.07651, allocations: 7.984 kB / 414.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.07711, allocations: 0.5397 MB / 414.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.07711, allocations: 0 / 414.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.07723, allocations: 51.84 kB / 414.7 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.921e-05/0.07731, allocations: 41.69 kB / 414.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.07733, allocations: 20.02 kB / 414.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.07768, allocations: 1.05 MB / 415.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.07768, allocations: 0 / 415.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.07803, allocations: 416.2 kB / 416.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.07833, allocations: 51.62 kB / 416.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.07836, allocations: 20.05 kB / 416.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.07848, allocations: 12 kB / 416.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.07853, allocations: 31.94 kB / 416.3 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.07854, allocations: 8 kB / 416.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.758e-05/0.07864, allocations: 135.5 kB / 416.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07864, allocations: 0 / 416.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.07928, allocations: 0.5294 MB / 417 MB, free: 13.55 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.0009526/0.08024, allocations: 0.8981 MB / 417.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.08055, allocations: 225.6 kB / 418.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.08055, allocations: 4 kB / 418.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.08067, allocations: 101.2 kB / 418.2 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.08111, allocations: 192.7 kB / 418.4 MB, free: 12.13 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.001658/0.08277, allocations: 0.8817 MB / 419.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.299e-05/0.08283, allocations: 113.7 kB / 419.4 MB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.08298, allocations: 67.25 kB / 419.4 MB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.08322, allocations: 181.1 kB / 419.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of SimCode: time 6.41e-07/0.08322, allocations: 0 / 419.6 MB, free: 10.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01918/0.1024, allocations: 20.81 MB / 440.4 MB, free: 6.164 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 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_3element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.345526152756065]