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.06161/0.06161, allocations: 11.15 MB / 30.72 MB, free: 4.453 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.0009888/0.0009888, allocations: 106.8 kB / 38.41 MB, free: 6.996 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.001799/0.001799, allocations: 168.5 kB / 46.18 MB, free: 10.32 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.9657/0.9657, allocations: 177.1 MB / 231 MB, free: 1.984 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.221/0.221, allocations: 17.63 MB / 309.5 MB, free: 1.965 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.593e-06/1.593e-06, allocations: 0 / 391.2 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.646e-05, allocations: 6.25 kB / 391.2 MB, free: 4.711 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.02699/0.02701, allocations: 27.84 MB / 419.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.0287, allocations: 0.8099 MB / 419.9 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.02895, allocations: 11.94 kB / 419.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.02916, allocations: 83.14 kB / 420 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.02946, allocations: 206.2 kB / 420.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.02968, allocations: 87.86 kB / 420.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005213/0.03021, allocations: 0.5906 MB / 420.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.03043, allocations: 120.6 kB / 421 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.03074, allocations: 283.4 kB / 421.2 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.03092, allocations: 147.6 kB / 421.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.03096, allocations: 36 kB / 421.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.03101, allocations: 32 kB / 421.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.03106, allocations: 83.61 kB / 421.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.03119, allocations: 167.7 kB / 421.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.03153, allocations: 322.8 kB / 422 MB, free: 6.008 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.03154, allocations: 0 / 422 MB, free: 6.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03154, allocations: 0 / 422 MB, free: 6.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.03155, allocations: 3.938 kB / 422 MB, free: 6.004 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.0007613/0.03231, allocations: 0.7682 MB / 422.8 MB, free: 5.199 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.03236, allocations: 8.031 kB / 422.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.732e-05/0.03245, allocations: 76.61 kB / 422.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.03277, allocations: 288.4 kB / 423.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.0328, allocations: 21.03 kB / 423.2 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.03284, allocations: 32.33 kB / 423.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.03313, allocations: 203.3 kB / 423.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.03314, allocations: 192 / 423.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.03316, allocations: 12.38 kB / 423.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.03317, allocations: 15.94 kB / 423.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.03335, allocations: 107.8 kB / 423.5 MB, free: 4.414 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.0009987/0.03435, allocations: 0.7688 MB / 424.3 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.03458, allocations: 147.5 kB / 424.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.03469, allocations: 88.11 kB / 424.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.03471, allocations: 8.172 kB / 424.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.03473, allocations: 37.62 kB / 424.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.943e-06/0.03473, allocations: 0 / 424.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003647/0.03509, allocations: 228 kB / 424.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.03512, allocations: 55.41 kB / 424.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/0.03546, allocations: 326.2 kB / 425.2 MB, free: 2.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.03549, allocations: 33.7 kB / 425.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.03559, allocations: 259.3 kB / 425.5 MB, free: 2.379 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.934e-05/0.03565, allocations: 87.19 kB / 425.5 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.03571, allocations: 55.31 kB / 425.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.03583, allocations: 0.5118 MB / 426.1 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.0359, allocations: 35.97 kB / 426.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.03596, allocations: 39.98 kB / 426.2 MB, free: 1.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.03618, allocations: 172.8 kB / 426.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.03618, allocations: 0 / 426.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000222/0.03641, allocations: 197.4 kB / 426.5 MB, free: 1.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.03642, allocations: 8 kB / 426.5 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.03643, allocations: 3.984 kB / 426.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.03644, allocations: 0 / 426.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.0366, allocations: 47.92 kB / 426.6 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.03661, allocations: 4 kB / 426.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.03667, allocations: 19.84 kB / 426.6 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.03668, allocations: 8 kB / 426.6 MB, free: 1.172 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.000165/0.03685, allocations: 191 kB / 426.8 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.03689, allocations: 43.75 kB / 426.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.03694, allocations: 43.95 kB / 426.9 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.03695, allocations: 4 kB / 426.9 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.03695, allocations: 7.984 kB / 426.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.03696, allocations: 0 / 426.9 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.03722, allocations: 288.3 kB / 427.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.03722, allocations: 0 / 427.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.03737, allocations: 47.92 kB / 427.2 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.03738, allocations: 3.938 kB / 427.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.03739, allocations: 4 kB / 427.3 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.0374, allocations: 7.984 kB / 427.3 MB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0374, allocations: 3.938 kB / 427.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.03779, allocations: 395.6 kB / 427.6 MB, free: 92 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.03786, allocations: 43.73 kB / 427.7 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.03789, allocations: 15.92 kB / 427.7 MB, free: 32 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.03796, allocations: 11.94 kB / 427.7 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.03799, allocations: 15.97 kB / 427.7 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.03802, allocations: 8.047 kB / 427.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.03813, allocations: 218.9 kB / 428 MB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03813, allocations: 0 / 428 MB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.03836, 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 8.346e-05/0.03844, allocations: 99.23 kB / 428.2 MB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.03866, allocations: 139.8 kB / 428.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03867, allocations: 0 / 428.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.03875, allocations: 83.53 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.0003459/0.03909, allocations: 86.33 kB / 428.5 MB, free: 15.27 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.00169/0.04078, allocations: 0.7885 MB / 429.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.04085, allocations: 100 kB / 429.3 MB, free: 14.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.04095, allocations: 26.28 kB / 429.4 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.04101, allocations: 24.5 kB / 429.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04101, allocations: 0 / 429.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of Templates: time 0.005964/0.04697, allocations: 3.369 MB / 432.8 MB, free: 10.98 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.314485806040466]