Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.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.0689/0.0689, allocations: 11.16 MB / 31.25 MB, free: 4.945 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.0009883/0.0009883, allocations: 101.1 kB / 38.88 MB, free: 7.379 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.001174/0.001174, allocations: 156.5 kB / 46.57 MB, free: 10.76 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.039/1.039, allocations: 177.2 MB / 231.3 MB, free: 6.422 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.2573/0.2573, allocations: 17.61 MB / 309.8 MB, free: 1.828 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_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 391.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.501e-05, allocations: 2.312 kB / 391.2 MB, free: 5.098 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_2element): time 0.3585/0.3585, allocations: 72.64 MB / 463.8 MB, free: 47.82 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01295/0.3715, allocations: 15.7 MB / 479.5 MB, free: 47.63 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.3724, allocations: 15.75 kB / 479.5 MB, free: 47.63 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.3731, allocations: 217.1 kB / 479.7 MB, free: 47.63 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.3793, allocations: 2.33 MB / 482.1 MB, free: 47.14 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.382, allocations: 1.201 MB / 483.3 MB, free: 46.92 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3831, allocations: 1.091 MB / 484.3 MB, free: 46.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.3835, allocations: 264.3 kB / 484.6 MB, free: 46.64 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.3853, allocations: 1.179 MB / 485.8 MB, free: 46.46 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.3858, allocations: 370.3 kB / 486.1 MB, free: 46.42 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.3859, allocations: 40.59 kB / 486.2 MB, free: 46.42 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.3892, allocations: 1.394 MB / 487.6 MB, free: 46.32 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.3894, allocations: 144 kB / 487.7 MB, free: 46.29 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3895, allocations: 184.4 kB / 487.9 MB, free: 46.27 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.3932, allocations: 1.935 MB / 489.8 MB, free: 45.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3932, allocations: 3.328 kB / 489.8 MB, free: 45.93 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3932, allocations: 0 / 489.8 MB, free: 45.93 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3932, allocations: 0 / 489.8 MB, free: 45.93 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001229/0.3945, allocations: 1.016 MB / 490.9 MB, free: 45.27 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3945, allocations: 8.844 kB / 490.9 MB, free: 45.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.3946, allocations: 73.62 kB / 490.9 MB, free: 45.24 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.395, allocations: 327.9 kB / 491.3 MB, free: 45.05 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.395, allocations: 28.66 kB / 491.3 MB, free: 45.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.3951, allocations: 33.78 kB / 491.3 MB, free: 45.05 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.3955, allocations: 360.4 kB / 491.7 MB, free: 44.91 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3955, allocations: 0 / 491.7 MB, free: 44.91 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3955, allocations: 14.19 kB / 491.7 MB, free: 44.91 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.3956, allocations: 9.438 kB / 491.7 MB, free: 44.91 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3958, allocations: 179.4 kB / 491.9 MB, free: 44.89 MB / 410.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.001404/0.3972, allocations: 1.437 MB / 493.3 MB, free: 44.05 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3975, allocations: 211.6 kB / 493.5 MB, free: 44.01 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3976, allocations: 76.44 kB / 493.6 MB, free: 44 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/0.3982, allocations: 0.6103 MB / 494.2 MB, free: 43.65 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.3984, allocations: 166 kB / 494.4 MB, free: 43.56 MB / 410.8 MB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.3984, allocations: 4 kB / 494.4 MB, free: 43.56 MB / 410.8 MB Notification: Performance of matching and sorting (n=31): time 0.0005813/0.399, allocations: 316.2 kB / 494.7 MB, free: 43.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.399, allocations: 57.53 kB / 494.7 MB, free: 43.42 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3992, allocations: 368.3 kB / 495.1 MB, free: 43.25 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3992, allocations: 34.89 kB / 495.1 MB, free: 43.21 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3993, allocations: 283 kB / 495.4 MB, free: 43.03 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.3994, allocations: 105.2 kB / 495.5 MB, free: 42.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-05/0.3995, allocations: 88.95 kB / 495.6 MB, free: 42.93 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.3995, allocations: 0.5213 MB / 496.1 MB, free: 42.42 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3996, allocations: 62.14 kB / 496.2 MB, free: 42.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3998, allocations: 179 kB / 496.3 MB, free: 42.27 MB / 410.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.0005254/0.4003, allocations: 406.5 kB / 496.7 MB, free: 42.06 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4003, allocations: 0 / 496.7 MB, free: 42.06 MB / 410.8 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004095/0.4007, allocations: 339.7 kB / 497.1 MB, free: 41.95 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4007, allocations: 10.59 kB / 497.1 MB, free: 41.94 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.4007, allocations: 3 kB / 497.1 MB, free: 41.94 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.4009, allocations: 27.31 kB / 497.1 MB, free: 41.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.4011, allocations: 80.72 kB / 497.2 MB, free: 41.93 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.4013, allocations: 0.8046 MB / 498 MB, free: 41.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4014, allocations: 36.73 kB / 498 MB, free: 41.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4015, allocations: 23.06 kB / 498.1 MB, free: 41.09 MB / 410.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 (47): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4016, allocations: 188.5 kB / 498.2 MB, free: 40.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4016, allocations: 45.45 kB / 498.3 MB, free: 40.89 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.402, allocations: 316.7 kB / 498.6 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4021, allocations: 11.09 kB / 498.6 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4021, allocations: 0 / 498.6 MB, free: 40.73 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4021, allocations: 4 kB / 498.6 MB, free: 40.72 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.4027, allocations: 0.6819 MB / 499.3 MB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4027, allocations: 0 / 499.3 MB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.4028, allocations: 39.95 kB / 499.3 MB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.598e-05/0.4029, allocations: 34.47 kB / 499.4 MB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.4029, allocations: 7.094 kB / 499.4 MB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000159/0.4031, allocations: 0.7969 MB / 0.4884 GB, free: 39.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4031, allocations: 0 / 0.4884 GB, free: 39.46 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.4035, allocations: 482 kB / 0.4889 GB, free: 39.16 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.4035, allocations: 56.69 kB / 0.489 GB, free: 39.13 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.4036, allocations: 14.08 kB / 0.489 GB, free: 39.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4037, allocations: 13.88 kB / 0.489 GB, free: 39.12 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.4037, allocations: 29.08 kB / 0.489 GB, free: 39.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.4038, allocations: 17.14 kB / 0.489 GB, free: 39.11 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001312/0.4039, allocations: 260.9 kB / 0.4893 GB, free: 38.95 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4039, allocations: 0 / 0.4893 GB, free: 38.95 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0009849/0.4049, allocations: 498.8 kB / 0.4897 GB, free: 38.8 MB / 410.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 (28): * 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: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009198/0.4058, allocations: 0.8175 MB / 0.4905 GB, free: 38.54 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.4062, allocations: 221.8 kB / 0.4908 GB, free: 38.49 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.4062, allocations: 0 / 0.4908 GB, free: 38.49 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.4063, allocations: 105.7 kB / 0.4909 GB, free: 38.47 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.4068, allocations: 172.9 kB / 0.491 GB, free: 38.42 MB / 410.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.001866/0.4087, allocations: 0.8146 MB / 0.4918 GB, free: 37.95 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.4087, allocations: 112 kB / 0.4919 GB, free: 37.88 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.4089, allocations: 77.36 kB / 0.492 GB, free: 37.86 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.409, allocations: 37.27 kB / 0.492 GB, free: 37.85 MB / 410.8 MB Notification: Performance of SimCode: time 1.323e-06/0.409, allocations: 4 kB / 0.492 GB, free: 37.84 MB / 410.8 MB Notification: Performance of Templates: time 0.01834/0.4273, allocations: 16.49 MB / 0.5081 GB, free: 35.75 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element -abortSlowSimulation -alarm=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.960374098038301]