Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.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.001089/0.001089, allocations: 80.81 kB / 20.8 MB, free: 3.656 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.001139/0.001139, allocations: 165 kB / 24.22 MB, free: 244 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.006/1.006, allocations: 177.1 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.08531/0.08531, allocations: 12.76 MB / 273.9 MB, free: 128 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.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow") translateModel(Bodylight.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 294.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.478e-05, allocations: 3.438 kB / 294.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatFlow): time 0.003259/0.003284, allocations: 2.064 MB / 296.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.003532, allocations: 75.88 kB / 297 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.00361, allocations: 1.219 kB / 297 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.003744, allocations: 12.88 kB / 297 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.003817, allocations: 27.02 kB / 297 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.896e-05/0.003906, allocations: 22.97 kB / 297.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.004058, allocations: 87.55 kB / 297.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.00416, allocations: 22.36 kB / 297.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.004227, allocations: 37.33 kB / 297.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.004295, allocations: 16.89 kB / 297.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.004313, allocations: 4.688 kB / 297.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.137e-05/0.004324, allocations: 12 kB / 297.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.004341, allocations: 6.562 kB / 297.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.004371, allocations: 22.75 kB / 297.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.004482, allocations: 49.11 kB / 297.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.004483, allocations: 0 / 297.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004485, allocations: 0.7031 kB / 297.3 MB, free: 10.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.00449, allocations: 1.219 kB / 297.3 MB, free: 10.23 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002892/0.004779, allocations: 268.7 kB / 297.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.004814, allocations: 13.33 kB / 297.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.004845, allocations: 8.031 kB / 297.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.004984, allocations: 128.2 kB / 297.7 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004995, allocations: 5.844 kB / 297.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.005006, allocations: 7.062 kB / 297.7 MB, free: 9.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.662e-05/0.005093, allocations: 51.19 kB / 297.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005102, allocations: 192 / 297.8 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.00511, allocations: 5.719 kB / 297.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.005117, allocations: 5.094 kB / 297.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.00514, allocations: 11.25 kB / 297.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.005394, allocations: 353.3 kB / 298.2 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.005438, allocations: 167.9 kB / 298.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.00545, allocations: 85.27 kB / 298.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.00546, allocations: 75.94 kB / 298.5 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.005482, allocations: 112.2 kB / 298.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.005484, allocations: 0 / 298.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.683e-05/0.00553, allocations: 29.55 kB / 298.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.005561, allocations: 128.8 kB / 298.7 MB, free: 8.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.005624, allocations: 127.2 kB / 298.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-06/0.005628, allocations: 25.7 kB / 298.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.005661, allocations: 98.91 kB / 299 MB, free: 8.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.005664, allocations: 1.125 kB / 299 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.005683, allocations: 11.94 kB / 299 MB, free: 8.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.005714, allocations: 318.4 kB / 299.3 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.005719, allocations: 8.875 kB / 299.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.005723, allocations: 1.5 kB / 299.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.973e-05/0.005742, allocations: 11.05 kB / 299.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005744, allocations: 0 / 299.3 MB, free: 8.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.97e-05/0.005804, allocations: 33.95 kB / 299.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.005817, allocations: 5.031 kB / 299.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005821, allocations: 1.5 kB / 299.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.005829, allocations: 0 / 299.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.998e-05/0.005869, allocations: 1.969 kB / 299.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.005873, allocations: 10 kB / 299.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/0.005886, allocations: 0.7031 kB / 299.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.00589, allocations: 0 / 299.4 MB, free: 8.207 MB / 266.7 MB 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 (1): * Single equations (assignments): 1 * 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 4.176e-05/0.005931, allocations: 204.3 kB / 299.6 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.005957, allocations: 104.5 kB / 299.7 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.005981, allocations: 108.8 kB / 299.8 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.005997, allocations: 182.5 kB / 300 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.006012, allocations: 178.8 kB / 300.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.006028, allocations: 181.7 kB / 300.3 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.174e-05/0.00612, allocations: 334 kB / 300.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.00613, allocations: 105.7 kB / 300.8 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.006143, allocations: 110.8 kB / 300.9 MB, free: 6.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.31e-05/0.006166, allocations: 178.5 kB / 301 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.006185, allocations: 182 kB / 301.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.789e-05/0.006203, allocations: 178.8 kB / 301.4 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.006221, allocations: 182.2 kB / 301.6 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.066e-05/0.006281, allocations: 303.5 kB / 301.9 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.006307, allocations: 114 kB / 302 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.006332, allocations: 178 kB / 302.1 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.006367, allocations: 107.2 kB / 302.3 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.006398, allocations: 182.5 kB / 302.4 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.006409, allocations: 110.8 kB / 302.5 MB, free: 4.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.51e-05/0.006434, allocations: 21.53 kB / 302.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006434, allocations: 0 / 302.6 MB, free: 4.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001117/0.006546, allocations: 13.59 kB / 302.6 MB, free: 4.926 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.623e-05/0.006612, allocations: 154.9 kB / 302.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.006663, allocations: 7.766 kB / 302.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.006667, allocations: 1.156 kB / 302.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.006667, allocations: 0 / 302.7 MB, free: 4.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.006853, allocations: 483.4 kB / 303.2 MB, free: 4.309 MB / 266.7 MB Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.007361, allocations: 252.3 kB / 303.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.544e-05/0.007386, allocations: 57.91 kB / 303.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.449e-05/0.007411, allocations: 2.219 kB / 303.5 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.007455, allocations: 56.7 kB / 303.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of SimCode: time 1.303e-06/0.007457, allocations: 4 kB / 303.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of Templates: time 0.00237/0.009827, allocations: 0.5569 MB / 304.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.sim & ./Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8161213072016835]