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.0712/0.0712, allocations: 11.14 MB / 31.73 MB, free: 4.816 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.0009137/0.0009137, allocations: 91.86 kB / 39.44 MB, free: 6.902 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.001153/0.001153, allocations: 164.6 kB / 47.24 MB, free: 10.18 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.9201/0.9201, allocations: 177.2 MB / 232.1 MB, free: 4.676 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.08267/0.08267, allocations: 17.63 MB / 310.7 MB, free: 8.59 MB / 282.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.072e-06/1.072e-06, allocations: 0 / 392.5 MB, free: 45.92 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.279e-05, allocations: 8.781 kB / 392.5 MB, free: 45.91 MB / 330.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.02004/0.02005, allocations: 27.83 MB / 420.4 MB, free: 18.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.02145, allocations: 0.8139 MB / 421.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.02162, allocations: 11.94 kB / 421.2 MB, free: 17.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.02178, allocations: 83.14 kB / 421.3 MB, free: 17.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.02199, allocations: 206.2 kB / 421.5 MB, free: 17.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.02213, allocations: 95.8 kB / 421.6 MB, free: 17.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.02243, allocations: 0.5828 MB / 422.1 MB, free: 16.57 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.02259, allocations: 116.7 kB / 422.3 MB, free: 16.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.02275, allocations: 287.4 kB / 422.5 MB, free: 16.17 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.02289, allocations: 155.5 kB / 422.7 MB, free: 16.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.02292, allocations: 36 kB / 422.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.484e-05/0.02296, allocations: 32 kB / 422.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.023, allocations: 75.67 kB / 422.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.02308, allocations: 167.7 kB / 423 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.0233, allocations: 326.8 kB / 423.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.02331, allocations: 0 / 423.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.02331, allocations: 0 / 423.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.02331, allocations: 0 / 423.3 MB, free: 15.39 MB / 330.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.0005443/0.02386, allocations: 0.772 MB / 424.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.74e-05/0.02388, allocations: 8.031 kB / 424.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.02394, allocations: 68.66 kB / 424.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.02416, allocations: 292.3 kB / 424.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.02417, allocations: 21.03 kB / 424.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.0242, allocations: 32.38 kB / 424.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.02438, allocations: 175.4 kB / 424.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.02439, allocations: 192 / 424.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.0244, allocations: 12.38 kB / 424.7 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.02441, allocations: 11.94 kB / 424.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.0245, allocations: 88.45 kB / 424.8 MB, free: 13.85 MB / 330.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.0006523/0.02515, allocations: 0.7263 MB / 425.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.0253, allocations: 129.6 kB / 425.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.02537, allocations: 76.17 kB / 425.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.02538, allocations: 8.234 kB / 425.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.02539, allocations: 37.56 kB / 425.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.182e-06/0.02539, allocations: 0 / 425.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002331/0.02563, allocations: 211.9 kB / 426 MB, free: 12.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.02565, allocations: 59.41 kB / 426 MB, free: 12.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.02575, allocations: 322.2 kB / 426.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.02576, allocations: 29.7 kB / 426.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.02582, allocations: 251.3 kB / 426.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.02587, allocations: 107 kB / 426.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.02591, allocations: 47.36 kB / 426.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.02596, allocations: 0.5117 MB / 427.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.026, allocations: 27.97 kB / 427.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.02603, allocations: 31.97 kB / 427.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.02617, allocations: 140.8 kB / 427.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.02617, allocations: 0 / 427.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001526/0.02633, allocations: 181.4 kB / 427.6 MB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.02634, allocations: 10.59 kB / 427.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.02634, allocations: 0 / 427.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.02635, allocations: 3.984 kB / 427.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.02649, allocations: 55.92 kB / 427.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.02649, allocations: 0 / 427.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.172e-05/0.02655, allocations: 15.89 kB / 427.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.02656, allocations: 4 kB / 427.7 MB, free: 10.78 MB / 330.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.0001218/0.02668, allocations: 190.5 kB / 427.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.02672, allocations: 47.7 kB / 428 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.02676, allocations: 47.89 kB / 428 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.02677, allocations: 4 kB / 428 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.02677, allocations: 0 / 428 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.02677, allocations: 3.984 kB / 428 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.02695, allocations: 229 kB / 428.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.02695, allocations: 0 / 428.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.02709, allocations: 51.92 kB / 428.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.02709, allocations: 0 / 428.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.0271, allocations: 11.98 kB / 428.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.0271, allocations: 3.938 kB / 428.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.0271, allocations: 0 / 428.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.02735, allocations: 376.8 kB / 428.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.02741, allocations: 51.69 kB / 428.7 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.02743, allocations: 7.984 kB / 428.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.02751, allocations: 7.938 kB / 428.7 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.02753, allocations: 15.97 kB / 428.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.02754, allocations: 8 kB / 428.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.142e-05/0.0276, allocations: 218.9 kB / 429 MB, free: 9.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0276, allocations: 0 / 429 MB, free: 9.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.02779, allocations: 95.84 kB / 429.1 MB, free: 9.387 MB / 330.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.309e-05/0.02786, allocations: 99.23 kB / 429.2 MB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.028, allocations: 123.8 kB / 429.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.028, allocations: 4 kB / 429.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.02806, allocations: 71.52 kB / 429.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.02836, allocations: 96.36 kB / 429.5 MB, free: 8.988 MB / 330.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.001224/0.02958, allocations: 0.7899 MB / 430.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.02962, allocations: 96.3 kB / 430.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.298e-05/0.0297, allocations: 30.28 kB / 430.4 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.02983, allocations: 134.2 kB / 430.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02983, allocations: 3.938 kB / 430.5 MB, free: 7.883 MB / 330.7 MB Notification: Performance of Templates: time 0.005172/0.035, allocations: 3.515 MB / 434 MB, free: 4.457 MB / 330.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: 2.9134313077665865]