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.04974/0.04974, allocations: 11.16 MB / 30.72 MB, free: 4.488 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.0009115/0.0009115, allocations: 99.86 kB / 38.41 MB, free: 7.008 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.001061/0.001061, allocations: 160.5 kB / 46.17 MB, free: 10.34 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.9043/0.9043, allocations: 177.2 MB / 231 MB, free: 2.051 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.1743/0.1743, allocations: 17.62 MB / 309.5 MB, free: 1.945 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.503e-06/1.503e-06, allocations: 3.938 kB / 391.2 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.386e-05, allocations: 6.312 kB / 391.2 MB, free: 4.688 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.01949/0.0195, allocations: 27.84 MB / 419.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.02066, allocations: 0.8099 MB / 419.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.02081, allocations: 15.88 kB / 419.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.02098, allocations: 83.14 kB / 420 MB, free: 8.051 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.0212, allocations: 202.2 kB / 420.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.02136, allocations: 91.86 kB / 420.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.02174, allocations: 0.5867 MB / 420.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.02192, allocations: 116.7 kB / 421 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.02213, allocations: 291.4 kB / 421.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.02229, allocations: 143.6 kB / 421.4 MB, free: 6.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.02233, allocations: 39.94 kB / 421.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.502e-05/0.02238, allocations: 32 kB / 421.5 MB, free: 6.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.02242, allocations: 79.67 kB / 421.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.02253, allocations: 163.7 kB / 421.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.02287, allocations: 334.7 kB / 422 MB, free: 5.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.02287, allocations: 0 / 422 MB, free: 5.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.02287, allocations: 0 / 422 MB, free: 5.988 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.02288, allocations: 4 kB / 422 MB, free: 5.984 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.0006797/0.02356, allocations: 0.7604 MB / 422.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.02359, allocations: 12.02 kB / 422.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.02367, allocations: 80.61 kB / 422.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.02394, allocations: 272.4 kB / 423.1 MB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.02396, allocations: 25.03 kB / 423.2 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.024, allocations: 40.31 kB / 423.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.02426, allocations: 203.3 kB / 423.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.02427, allocations: 192 / 423.4 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.02429, allocations: 12.38 kB / 423.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.0243, allocations: 7.938 kB / 423.4 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.02447, allocations: 103.9 kB / 423.5 MB, free: 4.41 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.0008382/0.02531, allocations: 0.7688 MB / 424.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.02553, allocations: 155.5 kB / 424.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.02564, allocations: 91.98 kB / 424.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.02565, allocations: 8.172 kB / 424.5 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.02567, allocations: 41.62 kB / 424.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.02567, allocations: 0 / 424.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003336/0.02601, allocations: 216 kB / 424.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.02603, allocations: 59.41 kB / 424.9 MB, free: 3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.02621, allocations: 322.3 kB / 425.2 MB, free: 2.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.02623, allocations: 33.69 kB / 425.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/0.02632, allocations: 247.4 kB / 425.4 MB, free: 2.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.02638, allocations: 99.23 kB / 425.5 MB, free: 2.285 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.02643, allocations: 59.25 kB / 425.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.02655, allocations: 0.5118 MB / 426.1 MB, free: 1.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.02661, allocations: 39.98 kB / 426.1 MB, free: 1.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.02667, allocations: 35.97 kB / 426.2 MB, free: 1.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.02689, allocations: 162.1 kB / 426.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.02689, allocations: 0 / 426.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002191/0.02711, allocations: 205.4 kB / 426.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.02712, allocations: 10.5 kB / 426.6 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.02713, allocations: 0 / 426.6 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.02714, allocations: 7.938 kB / 426.6 MB, free: 1.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.02729, allocations: 51.97 kB / 426.6 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0273, allocations: 0 / 426.6 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.02736, allocations: 19.84 kB / 426.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.02737, allocations: 8 kB / 426.6 MB, free: 1.16 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.0001367/0.02751, allocations: 182 kB / 426.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.02755, allocations: 47.75 kB / 426.9 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.0276, allocations: 43.95 kB / 426.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0276, allocations: 4 kB / 426.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.0276, allocations: 4 kB / 426.9 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02761, allocations: 3.984 kB / 426.9 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.02783, allocations: 280.3 kB / 427.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.02783, allocations: 4 kB / 427.2 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.02798, allocations: 47.91 kB / 427.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.02798, allocations: 3.938 kB / 427.2 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.028, allocations: 8 kB / 427.3 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.028, allocations: 4 kB / 427.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.028, allocations: 0 / 427.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.02834, allocations: 399.5 kB / 427.6 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.0284, allocations: 47.72 kB / 427.7 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.02843, allocations: 11.94 kB / 427.7 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.0285, allocations: 4 kB / 427.7 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.02853, allocations: 19.97 kB / 427.7 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.02854, allocations: 4 kB / 427.7 MB, free: 0 / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.02866, allocations: 223 kB / 427.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02866, allocations: 0 / 427.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000201/0.02886, allocations: 103.8 kB / 428.1 MB, free: 15.68 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 6.523e-05/0.02892, allocations: 103.2 kB / 428.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.02912, allocations: 139.8 kB / 428.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.02912, allocations: 0 / 428.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.0292, allocations: 79.58 kB / 428.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.02952, allocations: 94.36 kB / 428.5 MB, free: 15.26 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.001529/0.03105, allocations: 0.7923 MB / 429.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.478e-05/0.0311, allocations: 100 kB / 429.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.03118, allocations: 22.3 kB / 429.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.03123, allocations: 20.5 kB / 429.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of SimCode: time 3.31e-07/0.03123, allocations: 4 kB / 429.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of Templates: time 0.004608/0.03584, allocations: 3.196 MB / 432.6 MB, free: 11.15 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.0037408592179418]