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.0009952/0.0009952, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001002/0.001002, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.033/1.033, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.07809/0.07809, allocations: 12.77 MB / 273 MB, free: 140 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.814e-06/1.814e-06, allocations: 0 / 347.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.529e-05, allocations: 8.641 kB / 347.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.ThermalBody_QHP): time 0.004047/0.004072, allocations: 3.882 MB / 351 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.005287, allocations: 426.4 kB / 351.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.005562, allocations: 11.94 kB / 351.5 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.005793, allocations: 79.22 kB / 351.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.006083, allocations: 174.4 kB / 351.7 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.006385, allocations: 91.86 kB / 351.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.006973, allocations: 0.544 MB / 352.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.007218, allocations: 116.7 kB / 352.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.007527, allocations: 255.5 kB / 352.7 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.007723, allocations: 151.6 kB / 352.8 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.007764, allocations: 32 kB / 352.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.007816, allocations: 32 kB / 352.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.007861, allocations: 71.69 kB / 353 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.007975, allocations: 155.7 kB / 353.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.008294, allocations: 306.9 kB / 353.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008297, allocations: 0 / 353.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008299, allocations: 0 / 353.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.008309, allocations: 0 / 353.4 MB, free: 10.65 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.0007796/0.009089, allocations: 0.7178 MB / 354.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.009129, allocations: 15.98 kB / 354.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.009218, allocations: 68.66 kB / 354.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.009505, allocations: 260.4 kB / 354.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.009532, allocations: 21.03 kB / 354.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.009566, allocations: 36.36 kB / 354.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.009782, allocations: 175.4 kB / 354.7 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.009798, allocations: 8.125 kB / 354.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.009817, allocations: 16.38 kB / 354.7 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.009827, allocations: 8.375 kB / 354.7 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.009941, allocations: 84.45 kB / 354.8 MB, free: 9.18 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.0009894/0.01093, allocations: 0.7108 MB / 355.5 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01116, allocations: 127.7 kB / 355.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.01124, allocations: 78.42 kB / 355.7 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.01126, allocations: 4.234 kB / 355.7 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.01129, allocations: 41.62 kB / 355.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.086e-06/0.01129, allocations: 11.88 kB / 355.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002852/0.01158, allocations: 198.1 kB / 356 MB, free: 7.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.0116, allocations: 51.41 kB / 356 MB, free: 7.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01175, allocations: 286.2 kB / 356.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.01177, allocations: 33.7 kB / 356.4 MB, free: 7.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.01188, allocations: 235.4 kB / 356.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.01195, allocations: 99.09 kB / 356.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/0.01202, allocations: 51.34 kB / 356.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01217, allocations: 0.5117 MB / 357.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.773e-05/0.01222, allocations: 23.98 kB / 357.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.01226, allocations: 39.97 kB / 357.3 MB, free: 6.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.01244, allocations: 137.5 kB / 357.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01244, allocations: 0 / 357.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001921/0.01263, allocations: 173.5 kB / 357.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01265, allocations: 5.25 kB / 357.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01265, allocations: 3.938 kB / 357.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01267, allocations: 3.984 kB / 357.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.01283, allocations: 55.91 kB / 357.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.01283, allocations: 0 / 357.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.0129, allocations: 19.84 kB / 357.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01292, allocations: 12 kB / 357.7 MB, free: 6.18 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.0002259/0.01315, allocations: 181.2 kB / 357.9 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.01319, allocations: 35.81 kB / 357.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/0.01325, allocations: 42.92 kB / 358 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01325, allocations: 4 kB / 358 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01326, allocations: 0 / 358 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01326, allocations: 4 kB / 358 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.01354, allocations: 225 kB / 358.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01354, allocations: 0 / 358.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.01372, allocations: 47.92 kB / 358.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01372, allocations: 3.938 kB / 358.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.01374, allocations: 4 kB / 358.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01374, allocations: 4 kB / 358.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.01375, allocations: 7.922 kB / 358.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.01413, allocations: 371.6 kB / 358.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.0142, allocations: 47.67 kB / 358.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.01423, allocations: 8 kB / 358.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.0143, allocations: 8 kB / 358.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.01433, allocations: 15.91 kB / 358.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.01435, allocations: 12 kB / 358.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.352e-05/0.01444, allocations: 195 kB / 358.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01444, allocations: 0 / 358.9 MB, free: 4.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002215/0.01466, allocations: 99.78 kB / 359 MB, free: 4.832 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 0.0001031/0.01476, allocations: 91.25 kB / 359.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.01496, allocations: 119.8 kB / 359.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01497, allocations: 4 kB / 359.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.004e-05/0.01504, allocations: 79.52 kB / 359.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.01531, allocations: 28.97 kB / 359.3 MB, free: 4.492 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.001489/0.0168, allocations: 0.7564 MB / 360.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.426e-05/0.01687, allocations: 96.3 kB / 360.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.01696, allocations: 17.95 kB / 360.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01709, allocations: 110.2 kB / 360.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01709, allocations: 0 / 360.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Templates: time 0.005456/0.02255, allocations: 2.355 MB / 362.6 MB, free: 1.16 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 & (cd run_cvode && ../Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_gbode.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_ida.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Thermal.Examples.ThermalBody_QHP_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8684174022637308]