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.001194/0.001194, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009199/0.0009199, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.9271/0.9271, allocations: 177.1 MB / 203.4 MB, free: 5.594 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.05546/0.05546, allocations: 12.75 MB / 272.7 MB, free: 292 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 2.214e-06/2.214e-06, allocations: 0 / 346.7 MB, free: 1.258 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.545e-05, allocations: 2.312 kB / 346.7 MB, free: 1.254 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.003266/0.003291, allocations: 3.923 MB / 350.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007398/0.004031, allocations: 426.4 kB / 351 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.004171, allocations: 11.94 kB / 351 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.00434, allocations: 83.2 kB / 351.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.004532, allocations: 170.4 kB / 351.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.004729, allocations: 95.8 kB / 351.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.005123, allocations: 0.5363 MB / 351.9 MB, free: 12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.005324, allocations: 116.7 kB / 352 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.005522, allocations: 259.5 kB / 352.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.005695, allocations: 147.6 kB / 352.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.005733, allocations: 32 kB / 352.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.005768, allocations: 32 kB / 352.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.005812, allocations: 79.66 kB / 352.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.005909, allocations: 147.8 kB / 352.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.006173, allocations: 298.9 kB / 353 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006176, allocations: 0 / 353 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006177, allocations: 7.875 kB / 353 MB, free: 10.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.006182, allocations: 0 / 353 MB, free: 10.9 MB / 282.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.0007123/0.006894, allocations: 0.7218 MB / 353.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.00693, allocations: 15.98 kB / 353.8 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.007041, allocations: 72.66 kB / 353.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.007298, allocations: 260.4 kB / 354.1 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.007325, allocations: 21.03 kB / 354.1 MB, free: 9.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.007358, allocations: 32.36 kB / 354.1 MB, free: 9.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.007622, allocations: 199.4 kB / 354.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.007633, allocations: 192 / 354.3 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.007652, allocations: 16.38 kB / 354.3 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.00766, allocations: 8.375 kB / 354.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.007829, allocations: 108.5 kB / 354.5 MB, free: 9.383 MB / 282.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.0009403/0.00877, allocations: 0.7571 MB / 355.2 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.008996, allocations: 150.9 kB / 355.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.009107, allocations: 85.98 kB / 355.4 MB, free: 8.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.009119, allocations: 4.234 kB / 355.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.009142, allocations: 49.56 kB / 355.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.243e-06/0.009143, allocations: 0 / 355.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003488/0.009492, allocations: 222.1 kB / 355.7 MB, free: 8.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.009521, allocations: 59.34 kB / 355.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.009685, allocations: 286.3 kB / 356 MB, free: 7.699 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.009702, allocations: 33.7 kB / 356.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.009792, allocations: 227.4 kB / 356.3 MB, free: 7.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.009853, allocations: 103.2 kB / 356.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.01011, allocations: 51.36 kB / 356.5 MB, free: 7.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01022, allocations: 0.5078 MB / 357 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.01029, allocations: 39.97 kB / 357 MB, free: 6.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.01035, allocations: 35.98 kB / 357 MB, free: 6.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.01058, allocations: 165.6 kB / 357.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01058, allocations: 0 / 357.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002191/0.0108, allocations: 193.4 kB / 357.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.01081, allocations: 7.938 kB / 357.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01082, allocations: 3.984 kB / 357.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.01083, allocations: 4 kB / 357.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01099, allocations: 43.98 kB / 357.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01099, allocations: 0 / 357.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.01105, allocations: 23.78 kB / 357.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.01106, allocations: 12 kB / 357.5 MB, free: 6.227 MB / 282.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.0001369/0.0112, allocations: 185.2 kB / 357.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01124, allocations: 43.75 kB / 357.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.01129, allocations: 38.98 kB / 357.7 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01129, allocations: 4 kB / 357.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01129, allocations: 0 / 357.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.0113, allocations: 4 kB / 357.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01153, allocations: 264.4 kB / 358 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01153, allocations: 7.922 kB / 358 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.01167, allocations: 43.98 kB / 358.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01167, allocations: 3.984 kB / 358.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.01169, allocations: 7.938 kB / 358.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01169, allocations: 4 kB / 358.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01169, allocations: 0 / 358.1 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.01204, allocations: 399.6 kB / 358.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.0121, allocations: 43.72 kB / 358.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.01213, allocations: 15.94 kB / 358.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.0122, allocations: 4 kB / 358.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.01223, allocations: 19.91 kB / 358.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01224, allocations: 8 kB / 358.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.01233, allocations: 203 kB / 358.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01233, allocations: 0 / 358.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.01254, allocations: 99.78 kB / 358.9 MB, free: 4.789 MB / 282.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.908e-05/0.01261, allocations: 99.19 kB / 358.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.01282, allocations: 131.8 kB / 359.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01282, allocations: 4 kB / 359.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.0129, allocations: 83.58 kB / 359.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01317, allocations: 40.91 kB / 359.2 MB, free: 4.414 MB / 282.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.001501/0.01467, allocations: 0.7564 MB / 360 MB, free: 3.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.01499, allocations: 96.23 kB / 360.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.01506, allocations: 21.95 kB / 360.1 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.01511, allocations: 20.5 kB / 360.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01511, allocations: 0 / 360.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of Templates: time 0.004294/0.01941, allocations: 2.255 MB / 362.3 MB, free: 1.258 MB / 282.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.680786683689803]