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.0658/0.0658, allocations: 11.16 MB / 31.26 MB, free: 4.938 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.001063/0.001063, allocations: 95.7 kB / 38.88 MB, free: 7.391 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.001927/0.001927, allocations: 160.5 kB / 46.58 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 0.9491/0.9491, allocations: 177.1 MB / 231.3 MB, free: 6.453 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.2191/0.2191, allocations: 17.62 MB / 309.8 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 1.733e-06/1.733e-06, allocations: 0 / 391.1 MB, free: 5.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.108e-05, allocations: 2.312 kB / 391.2 MB, free: 5.109 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.05917/0.05919, allocations: 27.79 MB / 418.9 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.06118, allocations: 0.8058 MB / 419.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.06136, allocations: 19.88 kB / 419.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.06154, allocations: 79.16 kB / 419.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.06179, allocations: 202.2 kB / 420 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.06196, allocations: 87.86 kB / 420.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.06235, allocations: 0.5867 MB / 420.7 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.06256, allocations: 120.6 kB / 420.8 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.06276, allocations: 295.3 kB / 421.1 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.06293, allocations: 147.6 kB / 421.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.06297, allocations: 32 kB / 421.3 MB, free: 7.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.06301, allocations: 36 kB / 421.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.06306, allocations: 75.67 kB / 421.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.06318, allocations: 167.6 kB / 421.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.06349, allocations: 322.8 kB / 421.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.0635, allocations: 0 / 421.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.0635, allocations: 0 / 421.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.06351, allocations: 0 / 421.9 MB, free: 6.43 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.0008057/0.06431, allocations: 0.772 MB / 422.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.06435, allocations: 8.031 kB / 422.7 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.06446, allocations: 72.61 kB / 422.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.06479, allocations: 288.4 kB / 423 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.06482, allocations: 21.03 kB / 423 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.06486, allocations: 32.33 kB / 423.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.06515, allocations: 199.4 kB / 423.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.06516, allocations: 4.188 kB / 423.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.06518, allocations: 12.38 kB / 423.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.06519, allocations: 11.94 kB / 423.3 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.06537, allocations: 103.9 kB / 423.4 MB, free: 4.848 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.0009308/0.0663, allocations: 0.7689 MB / 424.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.06654, allocations: 151.4 kB / 424.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.06665, allocations: 86.94 kB / 424.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.06667, allocations: 8.172 kB / 424.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.06669, allocations: 41.62 kB / 424.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.06669, allocations: 0 / 424.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003437/0.06704, allocations: 227.9 kB / 424.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.06707, allocations: 55.41 kB / 424.7 MB, free: 3.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.06727, allocations: 318.3 kB / 425 MB, free: 3.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.06729, allocations: 33.7 kB / 425.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.06739, allocations: 259.3 kB / 425.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.06745, allocations: 91.17 kB / 425.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.06751, allocations: 55.31 kB / 425.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.06764, allocations: 0.5079 MB / 426 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.0677, allocations: 39.97 kB / 426 MB, free: 2.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.06776, allocations: 39.92 kB / 426 MB, free: 2.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.06799, allocations: 170.1 kB / 426.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.06799, allocations: 0 / 426.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002212/0.06821, allocations: 205.3 kB / 426.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.06822, allocations: 8 kB / 426.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.06822, allocations: 0 / 426.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.06824, allocations: 0 / 426.4 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.06839, allocations: 47.92 kB / 426.5 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.06839, allocations: 4 kB / 426.5 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.523e-05/0.06846, allocations: 31.83 kB / 426.5 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.06847, allocations: 11.98 kB / 426.5 MB, free: 1.59 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.0001504/0.06862, allocations: 181.7 kB / 426.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.06866, allocations: 43.75 kB / 426.7 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.06871, allocations: 43.95 kB / 426.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.06871, allocations: 4 kB / 426.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.06872, allocations: 4 kB / 426.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.06872, allocations: 0 / 426.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.06896, allocations: 280.4 kB / 427.1 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-06/0.06896, allocations: 0 / 427.1 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.06911, allocations: 51.97 kB / 427.1 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.06911, allocations: 7.875 kB / 427.1 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.06912, allocations: 4 kB / 427.1 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.06913, allocations: 4 kB / 427.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.06913, allocations: 0 / 427.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.06948, allocations: 395.6 kB / 427.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.06955, allocations: 51.72 kB / 427.6 MB, free: 488 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.06958, allocations: 11.94 kB / 427.6 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.06965, allocations: 4 kB / 427.6 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.06968, allocations: 11.97 kB / 427.6 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.06969, allocations: 12 kB / 427.6 MB, free: 448 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.0698, allocations: 226.9 kB / 427.8 MB, free: 224 kB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06981, allocations: 0 / 427.8 MB, free: 224 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001984/0.07, allocations: 103.8 kB / 427.9 MB, free: 120 kB / 378.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 8.137e-05/0.07008, allocations: 99.19 kB / 428 MB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.0703, allocations: 143.8 kB / 428.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.0703, allocations: 0 / 428.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.07039, allocations: 83.52 kB / 428.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.0707, allocations: 81.03 kB / 428.3 MB, free: 15.7 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.001475/0.07218, allocations: 0.7924 MB / 429.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.241e-05/0.07224, allocations: 100 kB / 429.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.566e-05/0.07232, allocations: 22.3 kB / 429.2 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.07236, allocations: 24.5 kB / 429.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.07237, allocations: 0 / 429.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of Templates: time 0.004863/0.07723, allocations: 3.198 MB / 432.5 MB, free: 11.59 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.1850513929966837]