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.05717/0.05717, allocations: 11.15 MB / 30.94 MB, free: 3.805 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.0009433/0.0009433, allocations: 95.41 kB / 38.66 MB, free: 6.387 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.001107/0.001107, allocations: 152.6 kB / 46.45 MB, free: 9.598 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.006/1.006, allocations: 177.1 MB / 231.3 MB, free: 1.934 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.2238/0.2238, allocations: 17.62 MB / 309.9 MB, free: 1.801 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.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 2.034e-06/2.034e-06, allocations: 0 / 391.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.393e-05, allocations: 6.25 kB / 391.7 MB, free: 4.391 MB / 346.7 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.03921/0.03924, allocations: 27.86 MB / 419.6 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.04095, allocations: 0.806 MB / 420.4 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.04118, allocations: 15.88 kB / 420.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.04138, allocations: 87.14 kB / 420.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.04163, allocations: 202.1 kB / 420.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.04181, allocations: 91.84 kB / 420.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000479/0.04229, allocations: 0.5906 MB / 421.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.04257, allocations: 116.6 kB / 421.5 MB, free: 6.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.04287, allocations: 291.4 kB / 421.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.04309, allocations: 147.5 kB / 421.9 MB, free: 6.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/0.04314, allocations: 36 kB / 422 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.0432, allocations: 36 kB / 422 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.04326, allocations: 79.66 kB / 422.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.0434, allocations: 159.6 kB / 422.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.04378, allocations: 322.9 kB / 422.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.04379, allocations: 4 kB / 422.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.04379, allocations: 0 / 422.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.0438, allocations: 0 / 422.5 MB, free: 5.664 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008263/0.04462, allocations: 0.772 MB / 423.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.04467, allocations: 12.03 kB / 423.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.904e-05/0.04476, allocations: 72.61 kB / 423.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.0451, allocations: 292.3 kB / 423.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.04514, allocations: 21.03 kB / 423.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.04518, allocations: 32.33 kB / 423.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.04544, allocations: 179.4 kB / 423.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.04546, allocations: 4.188 kB / 423.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.04548, allocations: 12.38 kB / 423.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.04549, allocations: 7.938 kB / 423.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.04561, allocations: 84.45 kB / 424 MB, free: 4.113 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.001032/0.04664, allocations: 0.7225 MB / 424.7 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.04687, allocations: 139.5 kB / 424.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.04696, allocations: 68.11 kB / 424.9 MB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.04698, allocations: 4.234 kB / 424.9 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.04702, allocations: 49.56 kB / 425 MB, free: 3.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.905e-06/0.04702, allocations: 0 / 425 MB, free: 3.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003706/0.04739, allocations: 204 kB / 425.2 MB, free: 2.875 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.04743, allocations: 51.41 kB / 425.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.04762, allocations: 322.2 kB / 425.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.04764, allocations: 29.7 kB / 425.6 MB, free: 2.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.04774, allocations: 251.3 kB / 425.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.04787, allocations: 99.14 kB / 425.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.04793, allocations: 55.28 kB / 426 MB, free: 2.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.04808, allocations: 0.5117 MB / 426.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.04813, allocations: 31.97 kB / 426.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.04817, allocations: 27.98 kB / 426.5 MB, free: 1.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.04834, allocations: 142.1 kB / 426.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.04835, allocations: 4 kB / 426.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001913/0.04854, allocations: 173.4 kB / 426.9 MB, free: 1.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.04855, allocations: 15.92 kB / 426.9 MB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.04856, allocations: 4 kB / 426.9 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.04858, allocations: 0 / 426.9 MB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.04873, allocations: 47.92 kB / 426.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.04873, allocations: 7.938 kB / 426.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.0488, allocations: 23.84 kB / 427 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.04881, allocations: 4 kB / 427 MB, free: 1.035 MB / 378.7 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.0002035/0.04901, allocations: 182.5 kB / 427.1 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.04905, allocations: 39.75 kB / 427.2 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.04912, allocations: 47.94 kB / 427.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.04912, allocations: 4 kB / 427.2 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.04912, allocations: 4 kB / 427.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.04913, allocations: 0 / 427.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.04937, allocations: 236.9 kB / 427.5 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.04937, allocations: 4 kB / 427.5 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.04951, allocations: 43.97 kB / 427.5 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.04952, allocations: 0 / 427.5 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.04953, allocations: 4 kB / 427.5 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.04953, allocations: 11.88 kB / 427.5 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.04953, allocations: 0 / 427.5 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.05001, allocations: 371.6 kB / 427.9 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.05009, allocations: 51.78 kB / 427.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.05011, allocations: 3.938 kB / 427.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.05019, allocations: 11.94 kB / 428 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.05022, allocations: 16 kB / 428 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.05023, allocations: 12 kB / 428 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.05033, allocations: 210.9 kB / 428.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05033, allocations: 0 / 428.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.05054, allocations: 103.8 kB / 428.3 MB, free: 15.65 MB / 394.7 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.000116/0.05066, allocations: 103.2 kB / 428.4 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.05084, allocations: 123.8 kB / 428.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.05085, allocations: 4 kB / 428.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.05092, allocations: 79.5 kB / 428.6 MB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.05127, allocations: 78.28 kB / 428.7 MB, free: 15.25 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/(kg.K): Unit not found Error: Error parsing unit kcal/(min.K): Unit not found Error: Error parsing unit kcal/g: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/kg: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.05285, allocations: 0.7942 MB / 429.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.05291, allocations: 100 kB / 429.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.053, allocations: 26.28 kB / 429.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.05315, allocations: 130.2 kB / 429.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.05315, allocations: 4 kB / 429.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of Templates: time 0.006245/0.0594, allocations: 3.453 MB / 433.2 MB, free: 10.77 MB / 394.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3087581461295485]