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.0009715/0.0009715, allocations: 73.97 kB / 20.66 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.0009693/0.0009693, allocations: 169.4 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 0.9846/0.9846, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.0773/0.0773, allocations: 12.75 MB / 273.8 MB, free: 112 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.162e-06/1.162e-06, allocations: 0 / 347.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.4e-05, allocations: 2.312 kB / 347.1 MB, free: 2.84 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.00352/0.003534, allocations: 3.885 MB / 351 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005273/0.004061, allocations: 430.4 kB / 351.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.004192, allocations: 7.938 kB / 351.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.004371, allocations: 83.2 kB / 351.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.004545, allocations: 174.4 kB / 351.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.004726, allocations: 91.86 kB / 351.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.005071, allocations: 0.544 MB / 352.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.005255, allocations: 120.7 kB / 352.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.005432, allocations: 255.5 kB / 352.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.005584, allocations: 147.6 kB / 352.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.005625, allocations: 32 kB / 352.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.412e-05/0.005669, allocations: 32 kB / 352.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.005708, allocations: 71.75 kB / 353 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.245e-05/0.0058, allocations: 155.7 kB / 353.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.006048, allocations: 302.9 kB / 353.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006049, allocations: 0 / 353.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.00605, allocations: 0 / 353.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.006054, allocations: 0 / 353.4 MB, free: 12.52 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.0006212/0.006675, allocations: 0.7294 MB / 354.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.006705, allocations: 11.98 kB / 354.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.006766, allocations: 68.66 kB / 354.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.006983, allocations: 256.5 kB / 354.5 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.007006, allocations: 24.97 kB / 354.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.007038, allocations: 28.36 kB / 354.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.007233, allocations: 187.3 kB / 354.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.007245, allocations: 192 / 354.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007263, allocations: 8.375 kB / 354.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.007274, allocations: 8.375 kB / 354.7 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.007381, allocations: 84.45 kB / 354.8 MB, free: 11.05 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.0007418/0.008123, allocations: 0.7186 MB / 355.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.008309, allocations: 131.5 kB / 355.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.008384, allocations: 76.12 kB / 355.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.008395, allocations: 4.234 kB / 355.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.008417, allocations: 41.61 kB / 355.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.008418, allocations: 0 / 355.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002563/0.008675, allocations: 201.6 kB / 356 MB, free: 9.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.008702, allocations: 55.41 kB / 356 MB, free: 9.758 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.008833, allocations: 282.2 kB / 356.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.008848, allocations: 37.7 kB / 356.3 MB, free: 9.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.008939, allocations: 235.3 kB / 356.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.968e-05/0.008999, allocations: 103.1 kB / 356.7 MB, free: 9.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.00905, allocations: 47.36 kB / 356.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000393/0.009443, allocations: 0.5156 MB / 357.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/0.009483, allocations: 23.98 kB / 357.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.009523, allocations: 36.19 kB / 357.3 MB, free: 8.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.009682, allocations: 140.3 kB / 357.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009684, allocations: 3.938 kB / 357.4 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001748/0.009858, allocations: 173.5 kB / 357.6 MB, free: 8.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.009869, allocations: 8 kB / 357.6 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009874, allocations: 3.938 kB / 357.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.009884, allocations: 4 kB / 357.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01003, allocations: 51.91 kB / 357.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.01003, allocations: 0 / 357.6 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.01008, allocations: 19.84 kB / 357.7 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.01009, allocations: 4 kB / 357.7 MB, free: 8.039 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.000133/0.01023, allocations: 184.9 kB / 357.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01027, allocations: 35.81 kB / 357.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.01032, allocations: 46.92 kB / 357.9 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01032, allocations: 4 kB / 357.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01032, allocations: 4 kB / 357.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01033, allocations: 0 / 357.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.01053, allocations: 228.9 kB / 358.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01053, allocations: 0 / 358.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01067, allocations: 47.92 kB / 358.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.01067, allocations: 4 kB / 358.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01068, allocations: 8 kB / 358.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01068, allocations: 0 / 358.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.01069, allocations: 3.938 kB / 358.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.01097, allocations: 363.6 kB / 358.6 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.01103, allocations: 51.72 kB / 358.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01106, allocations: 4.047 kB / 358.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.01112, allocations: 7.984 kB / 358.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.01115, allocations: 19.91 kB / 358.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01117, allocations: 4 kB / 358.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.01127, allocations: 203 kB / 358.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01127, allocations: 0 / 358.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.01147, allocations: 91.84 kB / 359 MB, free: 6.699 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.882e-05/0.01154, allocations: 99.19 kB / 359.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01169, allocations: 123.7 kB / 359.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.0117, allocations: 0 / 359.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.01177, allocations: 76.03 kB / 359.2 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01201, allocations: 40.97 kB / 359.3 MB, free: 6.348 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.00133/0.01334, allocations: 0.7808 MB / 360.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01344, allocations: 176.8 kB / 360.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.01357, allocations: 118.2 kB / 360.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01357, allocations: 0 / 360.4 MB, free: 5.215 MB / 330.7 MB Notification: Performance of Templates: time 0.003644/0.01722, allocations: 3.753 MB / 364.1 MB, free: 1.477 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 > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5496221901848912]