Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.2459/0.2459, allocations: 23.86 MB / 43.45 MB, free: 2.648 MB / 34.91 MB " [Timeout remaining time 180] 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.001378/0.001378, allocations: 105.5 kB / 53.14 MB, free: 356 kB / 34.91 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.00181/0.00181, allocations: 206.3 kB / 62.97 MB, free: 2.164 MB / 46.55 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.525/1.525, allocations: 230.6 MB / 303.2 MB, free: 6.867 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1618/0.1618, allocations: 23.72 MB / 389.9 MB, free: 9.176 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.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) Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.003501/0.003501, allocations: 126.6 kB / 0.5264 GB, free: 42.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1238, allocations: 65.97 MB / 0.5908 GB, free: 9.469 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.SkinHeatFlow): time 0.03795/0.1617, allocations: 22.86 MB / 0.6132 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1629, allocations: 478.8 kB / 0.6136 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.163, allocations: 7.938 kB / 0.6136 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.1631, allocations: 19.84 kB / 0.6136 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.1632, allocations: 47.58 kB / 0.6137 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.559e-05/0.1633, allocations: 11.98 kB / 0.6137 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.1635, allocations: 107.3 kB / 0.6138 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1636, allocations: 25.03 kB / 0.6138 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.765e-05/0.1637, allocations: 43.75 kB / 0.6139 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.906e-05/0.1638, allocations: 31.8 kB / 0.6139 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1638, allocations: 4 kB / 0.6139 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.1638, allocations: 8 kB / 0.6139 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.1638, allocations: 19.92 kB / 0.6139 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.1639, allocations: 43.75 kB / 0.614 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.164, allocations: 91.59 kB / 0.6141 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.164, allocations: 0 / 0.6141 GB, free: 1.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.164, allocations: 0 / 0.6141 GB, free: 1.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.164, allocations: 0 / 0.6141 GB, free: 1.746 MB / 430.1 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.0005604/0.1646, allocations: 333.7 kB / 0.6144 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1646, allocations: 12.03 kB / 0.6144 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.1647, allocations: 8.891 kB / 0.6144 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.165, allocations: 166.3 kB / 0.6145 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.165, allocations: 4.312 kB / 0.6146 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.165, allocations: 4.375 kB / 0.6146 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1651, allocations: 65.94 kB / 0.6146 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1651, allocations: 0 / 0.6146 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1651, allocations: 0 / 0.6146 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1651, allocations: 3.984 kB / 0.6146 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.1652, allocations: 27.98 kB / 0.6146 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.1658, allocations: 458.2 kB / 0.6151 GB, free: 0.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1659, allocations: 165.1 kB / 0.6152 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1659, allocations: 84.14 kB / 0.6153 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.166, allocations: 83.22 kB / 0.6154 GB, free: 248 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/0.1661, allocations: 113.8 kB / 0.6155 GB, free: 124 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1661, allocations: 0 / 0.6155 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.955e-05/0.1661, allocations: 41.61 kB / 0.6156 GB, free: 76 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.1662, allocations: 130.8 kB / 0.6157 GB, free: 15.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1665, allocations: 187.2 kB / 0.6159 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1665, allocations: 25.7 kB / 0.6159 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.1666, allocations: 108.1 kB / 0.616 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.1666, allocations: 0 / 0.616 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1666, allocations: 13.72 kB / 0.616 GB, free: 15.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1668, allocations: 322.9 kB / 0.6163 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.1668, allocations: 3.938 kB / 0.6163 GB, free: 15.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-06/0.1668, allocations: 4 kB / 0.6163 GB, free: 15.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.1669, allocations: 12.8 kB / 0.6163 GB, free: 15.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1669, allocations: 4.062 kB / 0.6163 GB, free: 15.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00012/0.167, allocations: 49.61 kB / 0.6164 GB, free: 15.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.167, allocations: 4 kB / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.167, allocations: 3.984 kB / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.167, allocations: 0 / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.1671, allocations: 4 kB / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1671, allocations: 3.938 kB / 0.6164 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.603e-05/0.1671, allocations: 0 / 0.6164 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1671, allocations: 0 / 0.6164 GB, free: 15.15 MB / 446.1 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 0.0001272/0.1672, allocations: 193.2 kB / 0.6166 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.1673, allocations: 124.8 kB / 0.6167 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.1674, allocations: 121.2 kB / 0.6168 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.722e-05/0.1675, allocations: 180.2 kB / 0.617 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/0.1676, allocations: 180.2 kB / 0.6172 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/0.1677, allocations: 176.3 kB / 0.6173 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.168, allocations: 416.2 kB / 0.6177 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.313e-05/0.168, allocations: 105 kB / 0.6178 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.1681, allocations: 104.9 kB / 0.6179 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-05/0.1682, allocations: 184.3 kB / 0.6181 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.1683, allocations: 176.3 kB / 0.6183 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-05/0.1684, allocations: 184.2 kB / 0.6184 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.273e-05/0.1684, allocations: 188.2 kB / 0.6186 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1686, allocations: 311.7 kB / 0.6189 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.1687, allocations: 108.9 kB / 0.619 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1688, allocations: 196.2 kB / 0.6192 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1689, allocations: 101 kB / 0.6193 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-05/0.169, allocations: 188.1 kB / 0.6195 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.169, allocations: 105 kB / 0.6196 GB, free: 11.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1692, allocations: 137.1 kB / 0.6197 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1692, allocations: 0 / 0.6197 GB, free: 11.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1694, allocations: 15.94 kB / 0.6197 GB, free: 11.53 MB / 446.1 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 0.0001272/0.1695, allocations: 170.5 kB / 0.6199 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.581e-05/0.1696, allocations: 7.938 kB / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1696, allocations: 3.938 kB / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1696, allocations: 0 / 0.6199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.1703, allocations: 0.5018 MB / 0.6204 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.1707, allocations: 310.1 kB / 0.6207 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1711, allocations: 0.7002 MB / 0.6214 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.1711, allocations: 15.44 kB / 0.6214 GB, free: 9.758 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1711, allocations: 0 / 0.6214 GB, free: 9.758 MB / 446.1 MB Notification: Performance of Templates: time 0.00351/0.1746, allocations: 1.455 MB / 0.6228 GB, free: 8.316 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.01383047690615] Failed to read output from testmodel.py, exit status != 0: 0.1826955028809607 0.19841296200000003 0.031133946000000003 Calling exit ...