Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.conf.json 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.001169/0.001169, allocations: 84.88 kB / 20.8 MB, free: 3.648 MB / 18.57 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.001074/0.001074, allocations: 169 kB / 24.22 MB, free: 236 kB / 18.57 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.989/0.989, allocations: 177.2 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05999/0.05999, allocations: 12.76 MB / 273.9 MB, free: 136 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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) Running command: translateModel(Bodylight.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") translateModel(Bodylight.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 294.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.41e-05, allocations: 5.359 kB / 294.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.013/0.01302, allocations: 3.924 MB / 298.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.02323, allocations: 442 kB / 299.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.02344, allocations: 14.25 kB / 299.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.02364, allocations: 79.23 kB / 299.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.02392, allocations: 174.9 kB / 299.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.02416, allocations: 93.03 kB / 299.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.02466, allocations: 0.5415 MB / 300.1 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.02486, allocations: 120.1 kB / 300.2 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006355/0.03121, allocations: 259.8 kB / 300.5 MB, free: 8.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.03148, allocations: 149.1 kB / 300.6 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.03154, allocations: 33.06 kB / 300.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.03163, allocations: 31.34 kB / 300.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.03168, allocations: 70.42 kB / 300.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.03182, allocations: 154 kB / 300.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.03217, allocations: 306.5 kB / 301.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.03218, allocations: 1.594 kB / 301.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03218, allocations: 0 / 301.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.03219, allocations: 4 kB / 301.2 MB, free: 7.977 MB / 266.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.0006926/0.03288, allocations: 0.599 MB / 301.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.03292, allocations: 18.48 kB / 301.9 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.03301, allocations: 54.7 kB / 301.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.03329, allocations: 226.2 kB / 302.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.03332, allocations: 24.62 kB / 302.2 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.03336, allocations: 27.39 kB / 302.2 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.0336, allocations: 187.8 kB / 302.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.03362, allocations: 5.531 kB / 302.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.03363, allocations: 10.84 kB / 302.4 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.03364, allocations: 6.656 kB / 302.4 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.03377, allocations: 72.28 kB / 302.5 MB, free: 7.211 MB / 266.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.003099/0.03687, allocations: 0.5682 MB / 303 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.03711, allocations: 119.9 kB / 303.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.03721, allocations: 62.66 kB / 303.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.03723, allocations: 9.734 kB / 303.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.03725, allocations: 37.02 kB / 303.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 3.025e-06/0.03726, allocations: 0 / 303.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003187/0.03758, allocations: 155.6 kB / 303.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.0376, allocations: 60.17 kB / 303.5 MB, free: 6.691 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.03776, allocations: 229.5 kB / 303.7 MB, free: 6.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.03778, allocations: 31.08 kB / 303.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.03785, allocations: 165.1 kB / 303.9 MB, free: 6.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.03791, allocations: 97.22 kB / 304 MB, free: 6.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.03798, allocations: 44.56 kB / 304 MB, free: 6.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.03804, allocations: 342.9 kB / 304.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.03809, allocations: 29.36 kB / 304.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.03814, allocations: 23.67 kB / 304.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.03836, allocations: 133.9 kB / 304.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.03836, allocations: 0 / 304.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002042/0.03857, allocations: 137.6 kB / 304.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.03858, allocations: 4.625 kB / 304.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.03859, allocations: 2.062 kB / 304.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.0386, allocations: 5.562 kB / 304.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.03885, allocations: 59.67 kB / 304.7 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.03886, allocations: 9.812 kB / 304.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.03893, allocations: 14.27 kB / 304.8 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.03893, allocations: 2.75 kB / 304.8 MB, free: 5.828 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: skin.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real core.relativeHeat:VARIABLE(flow=false 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.0001228/0.03906, allocations: 130 kB / 304.9 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.0391, allocations: 29.23 kB / 304.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.03914, allocations: 42.06 kB / 305 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.03914, allocations: 10.03 kB / 305 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.03915, allocations: 3.938 kB / 305 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.03915, allocations: 1.156 kB / 305 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.03934, allocations: 197.5 kB / 305.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.03934, allocations: 0 / 305.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.0395, allocations: 47.78 kB / 305.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.0395, allocations: 1.375 kB / 305.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.03952, allocations: 8.359 kB / 305.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.03952, allocations: 3.234 kB / 305.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03952, allocations: 0 / 305.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.03982, allocations: 295.9 kB / 305.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.03987, allocations: 29.94 kB / 305.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.03989, allocations: 6.188 kB / 305.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.03996, allocations: 5.062 kB / 305.6 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.03999, allocations: 20.84 kB / 305.6 MB, free: 5.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.04, allocations: 7.734 kB / 305.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.04006, allocations: 85.75 kB / 305.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04006, allocations: 1.75 kB / 305.7 MB, free: 5.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001954/0.04026, allocations: 85.11 kB / 305.7 MB, free: 5.273 MB / 266.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 7.878e-05/0.04034, allocations: 85.69 kB / 305.8 MB, free: 5.195 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.04049, allocations: 106.9 kB / 305.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.04049, allocations: 3.094 kB / 305.9 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.04055, allocations: 62.47 kB / 306 MB, free: 5.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.04076, allocations: 34.53 kB / 306 MB, free: 5.141 MB / 266.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.001373/0.04214, allocations: 0.7066 MB / 306.7 MB, free: 4.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.04221, allocations: 93.27 kB / 306.8 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.04232, allocations: 21.84 kB / 306.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.04245, allocations: 95.97 kB / 306.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.04245, allocations: 0 / 306.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of Templates: time 0.004765/0.04721, allocations: 2.348 MB / 309.3 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.sim & ./Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8018737575039268]