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.000904/0.000904, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009376/0.0009376, allocations: 169 kB / 23.02 MB, free: 1.547 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.9176/0.9176, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.06735/0.06735, allocations: 12.76 MB / 272.7 MB, free: 304 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.904e-06/1.904e-06, allocations: 0 / 346.7 MB, free: 2.461 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.327e-05, allocations: 8.562 kB / 346.7 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Thermal.Examples.SkinHeatFlow): time 0.003452/0.003485, allocations: 2.029 MB / 348.7 MB, free: 424 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.003711, allocations: 71.77 kB / 348.8 MB, free: 352 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.003788, allocations: 7.938 kB / 348.8 MB, free: 344 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.003906, allocations: 7.922 kB / 348.8 MB, free: 336 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.003975, allocations: 31.72 kB / 348.8 MB, free: 304 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.173e-05/0.004057, allocations: 19.97 kB / 348.9 MB, free: 284 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.004238, allocations: 87.47 kB / 348.9 MB, free: 196 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004355, allocations: 16.17 kB / 349 MB, free: 176 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.004422, allocations: 39.89 kB / 349 MB, free: 136 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.004495, allocations: 19.94 kB / 349 MB, free: 116 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004515, allocations: 4 kB / 349 MB, free: 112 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.004525, allocations: 4 kB / 349 MB, free: 108 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.004553, allocations: 11.92 kB / 349 MB, free: 96 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.004593, allocations: 20 kB / 349 MB, free: 76 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.004717, allocations: 51.77 kB / 349.1 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00472, allocations: 0 / 349.1 MB, free: 24 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.004721, allocations: 0 / 349.1 MB, free: 24 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004726, allocations: 0 / 349.1 MB, free: 24 kB / 314.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.0004769/0.005203, allocations: 392.5 kB / 349.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.005247, allocations: 11.98 kB / 349.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.005292, allocations: 12.89 kB / 349.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005479, allocations: 144.4 kB / 349.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.00549, allocations: 384 / 349.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.005503, allocations: 4.375 kB / 349.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.00561, allocations: 58.19 kB / 349.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005618, allocations: 192 / 349.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.005629, allocations: 4.359 kB / 349.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.005641, allocations: 8.125 kB / 349.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.005679, allocations: 11.94 kB / 349.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.006143, allocations: 0.5331 MB / 350.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.00625, allocations: 265.4 kB / 350.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.006295, allocations: 126.9 kB / 350.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.006331, allocations: 123.2 kB / 350.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.006388, allocations: 160.6 kB / 350.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.006389, allocations: 0 / 350.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 7.067e-05/0.00646, allocations: 29.64 kB / 351 MB, free: 14.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.322e-05/0.006533, allocations: 174.6 kB / 351.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.006657, allocations: 185.8 kB / 351.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006668, allocations: 29.69 kB / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.006739, allocations: 142.8 kB / 351.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.006742, allocations: 0 / 351.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.006771, allocations: 19.38 kB / 351.5 MB, free: 13.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.006908, allocations: 0.4923 MB / 352 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.006918, allocations: 0 / 352 MB, free: 12.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.006929, allocations: 8 kB / 352 MB, free: 12.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.006961, allocations: 11.69 kB / 352 MB, free: 12.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006964, allocations: 0 / 352 MB, free: 12.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.312e-05/0.007047, allocations: 41.7 kB / 352 MB, free: 12.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.00706, allocations: 11.94 kB / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.007066, allocations: 3.984 kB / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.007081, allocations: 0 / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.048e-05/0.007121, allocations: 0 / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007126, allocations: 0 / 352.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.007139, allocations: 8.094 kB / 352.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.007143, allocations: 0 / 352.1 MB, free: 12.84 MB / 330.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 7.576e-05/0.007219, allocations: 275.7 kB / 352.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.007264, allocations: 152.8 kB / 352.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.007311, allocations: 156.1 kB / 352.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-05/0.007364, allocations: 272.1 kB / 352.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.605e-05/0.00742, allocations: 268 kB / 353.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-05/0.007473, allocations: 264.1 kB / 353.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.007673, allocations: 0.5115 MB / 353.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/0.007703, allocations: 148.9 kB / 354.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.007736, allocations: 144.9 kB / 354.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.769e-05/0.007793, allocations: 276 kB / 354.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.007849, allocations: 264.1 kB / 354.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.989e-05/0.007909, allocations: 268 kB / 355 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.284e-05/0.007962, allocations: 272.1 kB / 355.3 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.00808, allocations: 456.1 kB / 355.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.008118, allocations: 152.8 kB / 355.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.008179, allocations: 272 kB / 356.1 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.366e-05/0.008233, allocations: 152.9 kB / 356.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.008291, allocations: 264.1 kB / 356.5 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.008322, allocations: 148.8 kB / 356.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.445e-05/0.008367, allocations: 143.2 kB / 356.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008367, allocations: 0 / 356.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.008503, allocations: 11.94 kB / 356.8 MB, free: 7.867 MB / 330.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 8.752e-05/0.00859, allocations: 210.4 kB / 357.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.513e-05/0.008656, allocations: 11.67 kB / 357.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008657, allocations: 0 / 357.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.008661, allocations: 7.938 kB / 357.1 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.009006, allocations: 0.7217 MB / 357.8 MB, free: 6.902 MB / 330.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.0006273/0.009633, allocations: 293.3 kB / 358.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.009663, allocations: 55.36 kB / 358.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.427e-05/0.009687, allocations: 3.984 kB / 358.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.009707, allocations: 12.5 kB / 358.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009707, allocations: 0 / 358.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of Templates: time 0.002007/0.01171, allocations: 0.5389 MB / 358.7 MB, free: 5.973 MB / 330.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.635102755855769]