Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.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.09493/0.09493, allocations: 11.16 MB / 30.26 MB, free: 6.531 MB / 26.18 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.001486/0.001486, allocations: 96.06 kB / 37.85 MB, free: 7.953 MB / 34.91 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.001505/0.001505, allocations: 160.6 kB / 45.52 MB, free: 280 kB / 34.91 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.412/1.412, allocations: 177.2 MB / 230.2 MB, free: 8.395 MB / 206.1 MB " [Timeout remaining time 178] 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.1474/0.1474, allocations: 17.62 MB / 308.7 MB, free: 12.87 MB / 286.1 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.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 453.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.037e-05, allocations: 5.375 kB / 453.6 MB, free: 3.156 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312: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/Thermal.mo:312:7-312: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.Thermal.Examples.ThermalBody_QHP): time 0.03614/0.03617, allocations: 24.94 MB / 478.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.03848, allocations: 0.7945 MB / 479.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.03875, allocations: 15.88 kB / 479.3 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.039, allocations: 83.2 kB / 479.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.03939, allocations: 202.1 kB / 479.6 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.03967, allocations: 91.81 kB / 479.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006724/0.04034, allocations: 0.5867 MB / 480.3 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.04064, allocations: 124.7 kB / 480.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.04098, allocations: 283.4 kB / 480.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.04126, allocations: 151.6 kB / 480.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.04132, allocations: 32 kB / 480.9 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.04141, allocations: 32 kB / 480.9 MB, free: 7.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.111e-05/0.04149, allocations: 83.67 kB / 481 MB, free: 7.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.04169, allocations: 159.6 kB / 481.1 MB, free: 7.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.04228, allocations: 466.5 kB / 481.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.04228, allocations: 0 / 481.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.04228, allocations: 0 / 481.6 MB, free: 7.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.04229, allocations: 0 / 481.6 MB, free: 7.289 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001153/0.04344, allocations: 0.6644 MB / 482.3 MB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.04349, allocations: 15.98 kB / 482.3 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.04359, allocations: 52.61 kB / 482.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.04406, allocations: 273.5 kB / 482.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.526e-05/0.04409, allocations: 21.03 kB / 482.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.04415, allocations: 36.31 kB / 482.7 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.04463, allocations: 246.7 kB / 482.9 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.04465, allocations: 4.141 kB / 482.9 MB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.04468, allocations: 16.38 kB / 482.9 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.04469, allocations: 7.938 kB / 482.9 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.0451, allocations: 198.5 kB / 483.1 MB, free: 5.711 MB / 382.1 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.001542/0.04664, allocations: 0.7432 MB / 483.9 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.04706, allocations: 199.1 kB / 484.1 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.04728, allocations: 121.3 kB / 484.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.04731, allocations: 12.11 kB / 484.2 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.04734, allocations: 34.73 kB / 484.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.923e-06/0.04734, allocations: 0 / 484.2 MB, free: 4.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006414/0.04798, allocations: 316 kB / 484.5 MB, free: 4.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.04804, allocations: 59.41 kB / 484.6 MB, free: 4.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.04832, allocations: 276.6 kB / 484.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.04836, allocations: 29.7 kB / 484.9 MB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.04851, allocations: 208.6 kB / 485.1 MB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.494e-05/0.0486, allocations: 99.12 kB / 485.2 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.04869, allocations: 45.7 kB / 485.2 MB, free: 3.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.04888, allocations: 338.8 kB / 485.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.04903, allocations: 67.98 kB / 485.6 MB, free: 3.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.04918, allocations: 76.42 kB / 485.7 MB, free: 3.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.05041, allocations: 394.6 kB / 486.1 MB, free: 2.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.05041, allocations: 0 / 486.1 MB, free: 2.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004542/0.05087, allocations: 273.3 kB / 486.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.05088, allocations: 4 kB / 486.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.05089, allocations: 0 / 486.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.05091, allocations: 0 / 486.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.0512, allocations: 51.92 kB / 486.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.05121, allocations: 4 kB / 486.4 MB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.05136, allocations: 23.88 kB / 486.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.05138, allocations: 4 kB / 486.4 MB, free: 2.27 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.05164, allocations: 163 kB / 486.6 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.0517, allocations: 35.75 kB / 486.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.05181, allocations: 47.95 kB / 486.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.05181, allocations: 0 / 486.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.05181, allocations: 4 kB / 486.7 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.05182, allocations: 4 kB / 486.7 MB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.05225, allocations: 285.1 kB / 487 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.05225, allocations: 0 / 487 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.05255, allocations: 51.91 kB / 487 MB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/0.05256, allocations: 7.938 kB / 487 MB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.05259, allocations: 4 kB / 487 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.05259, allocations: 3.984 kB / 487 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.0526, allocations: 4 kB / 487 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.05338, allocations: 467.2 kB / 487.5 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.0535, allocations: 59.8 kB / 487.6 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.05355, allocations: 11.88 kB / 487.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.05372, allocations: 8 kB / 487.6 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.05377, allocations: 11.97 kB / 487.6 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.05378, allocations: 12 kB / 487.6 MB, free: 1.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.054, allocations: 195.1 kB / 487.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.054, allocations: 0 / 487.8 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003629/0.05436, allocations: 107.8 kB / 487.9 MB, free: 0.7656 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.relativeHeat) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.05449, allocations: 91.25 kB / 488 MB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.05489, allocations: 195.8 kB / 488.2 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.05489, allocations: 11.88 kB / 488.2 MB, free: 476 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.05506, allocations: 95.91 kB / 488.3 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.05561, allocations: 68.03 kB / 488.3 MB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.05698, allocations: 0.743 MB / 489.1 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.05718, allocations: 190.6 kB / 489.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.05731, allocations: 34.27 kB / 489.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.05739, allocations: 20.5 kB / 489.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.05739, allocations: 0 / 489.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of Templates: time 0.008225/0.06561, allocations: 3.152 MB / 492.5 MB, free: 12.2 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.794138826429844] Failed to read output from testmodel.py, exit status != 0: 0.07460106164216995 0.09013892800000001 0.044717714000000006 Calling exit ...