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.0009667/0.0009667, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001195/0.001195, allocations: 169 kB / 24.06 MB, free: 452 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 1.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.05444/0.05444, allocations: 12.76 MB / 273.8 MB, free: 104 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.413e-06/1.413e-06, allocations: 0 / 347.9 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.435e-05, allocations: 5.406 kB / 347.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.004843/0.004867, allocations: 3.89 MB / 351.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.006013, allocations: 422.4 kB / 352.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.006277, allocations: 11.94 kB / 352.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.006521, allocations: 79.2 kB / 352.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.006867, allocations: 178.3 kB / 352.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.007143, allocations: 91.86 kB / 352.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006157/0.007759, allocations: 0.5441 MB / 353.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.00802, allocations: 112.7 kB / 353.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.008358, allocations: 263.5 kB / 353.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.008601, allocations: 139.6 kB / 353.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.008657, allocations: 32 kB / 353.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.008716, allocations: 36 kB / 353.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.008779, allocations: 75.73 kB / 353.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.008931, allocations: 151.7 kB / 353.9 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.009201, allocations: 306.8 kB / 354.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.009204, allocations: 4 kB / 354.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.009205, allocations: 0 / 354.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.00921, allocations: 0 / 354.2 MB, free: 11.69 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.0006544/0.009865, allocations: 0.7178 MB / 354.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.009897, allocations: 19.92 kB / 355 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.009963, allocations: 64.66 kB / 355 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.01021, allocations: 268.4 kB / 355.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.01023, allocations: 21.03 kB / 355.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.01026, allocations: 28.38 kB / 355.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.01048, allocations: 179.4 kB / 355.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01049, allocations: 4.172 kB / 355.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.01051, allocations: 12.38 kB / 355.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01052, allocations: 4.375 kB / 355.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.01063, allocations: 88.45 kB / 355.6 MB, free: 10.22 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.000792/0.01142, allocations: 0.7108 MB / 356.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.01161, allocations: 134.7 kB / 356.4 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.01168, allocations: 68.19 kB / 356.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.0117, allocations: 8.234 kB / 356.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.01172, allocations: 41.61 kB / 356.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.01172, allocations: 0 / 356.6 MB, free: 9.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002732/0.01199, allocations: 201.6 kB / 356.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.01202, allocations: 63.34 kB / 356.8 MB, free: 8.934 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.01215, allocations: 286.2 kB / 357.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01217, allocations: 25.7 kB / 357.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.01226, allocations: 239.3 kB / 357.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.01232, allocations: 95.16 kB / 357.5 MB, free: 8.277 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.01237, allocations: 51.34 kB / 357.5 MB, free: 8.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.0125, allocations: 0.5156 MB / 358 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.01254, allocations: 23.98 kB / 358 MB, free: 7.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.01258, allocations: 32.19 kB / 358.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.01275, allocations: 144.3 kB / 358.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01275, allocations: 0 / 358.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001784/0.01293, allocations: 177.4 kB / 358.4 MB, free: 7.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01294, allocations: 8 kB / 358.4 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01295, allocations: 3.938 kB / 358.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01296, allocations: 0 / 358.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01311, allocations: 55.91 kB / 358.5 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01311, allocations: 4 kB / 358.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.01317, allocations: 15.84 kB / 358.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.01318, allocations: 4 kB / 358.5 MB, free: 7.223 MB / 330.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.0001398/0.01332, allocations: 185.7 kB / 358.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01336, allocations: 39.81 kB / 358.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.01341, allocations: 38.94 kB / 358.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.01341, allocations: 7.984 kB / 358.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01342, allocations: 3.938 kB / 358.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01342, allocations: 0 / 358.7 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.01363, allocations: 228.9 kB / 359 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01364, allocations: 0 / 359 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01378, allocations: 51.97 kB / 359 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01378, allocations: 4 kB / 359 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.0138, allocations: 0 / 359 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.0138, allocations: 0 / 359 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.0138, allocations: 3.938 kB / 359 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.0141, allocations: 371.6 kB / 359.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.01416, allocations: 43.72 kB / 359.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.01418, allocations: 8 kB / 359.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.01426, allocations: 4 kB / 359.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.731e-05/0.01429, allocations: 23.95 kB / 359.5 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.0143, allocations: 11.98 kB / 359.5 MB, free: 6.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.152e-05/0.01438, allocations: 195 kB / 359.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01438, allocations: 3.938 kB / 359.7 MB, free: 5.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01459, allocations: 99.78 kB / 359.8 MB, free: 5.871 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 7.971e-05/0.01467, allocations: 95.19 kB / 359.9 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.01483, allocations: 119.8 kB / 360 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01483, allocations: 0 / 360 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.0149, allocations: 76.03 kB / 360.1 MB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01516, allocations: 44.91 kB / 360.1 MB, free: 5.523 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.00135/0.01651, allocations: 0.7518 MB / 360.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.01656, allocations: 96.3 kB / 360.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.01663, allocations: 17.95 kB / 361 MB, free: 4.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.01675, allocations: 114.2 kB / 361.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01675, allocations: 0 / 361.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of Templates: time 0.004234/0.02098, allocations: 2.388 MB / 363.5 MB, free: 2.152 MB / 330.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.778399320784956]