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.1643/0.1643, allocations: 23.87 MB / 42.7 MB, free: 2.637 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.001187/0.001187, allocations: 105.4 kB / 52.39 MB, free: 364 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.001785/0.001785, allocations: 206.2 kB / 62.22 MB, free: 2.168 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.455/1.455, allocations: 230.6 MB / 302.5 MB, free: 6.859 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.1521/0.1521, allocations: 23.71 MB / 389.1 MB, free: 9.195 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) [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.003332/0.003332, allocations: 123.2 kB / 0.5252 GB, free: 42.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1255, allocations: 65.97 MB / 0.5896 GB, free: 9.98 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.03713/0.1626, allocations: 22.86 MB / 0.6119 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1641, allocations: 474.8 kB / 0.6124 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1643, allocations: 11.94 kB / 0.6124 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1645, allocations: 19.78 kB / 0.6124 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.1646, allocations: 43.62 kB / 0.6124 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.678e-05/0.1647, allocations: 15.98 kB / 0.6125 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1649, allocations: 111.3 kB / 0.6126 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1651, allocations: 25.05 kB / 0.6126 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.675e-05/0.1651, allocations: 31.81 kB / 0.6126 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.1652, allocations: 39.73 kB / 0.6127 GB, free: 2.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1652, allocations: 8 kB / 0.6127 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/0.1653, allocations: 4 kB / 0.6127 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.1653, allocations: 19.92 kB / 0.6127 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.1653, allocations: 39.75 kB / 0.6127 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.1655, allocations: 95.58 kB / 0.6128 GB, free: 2.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1655, allocations: 0 / 0.6128 GB, free: 2.262 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1655, allocations: 0 / 0.6128 GB, free: 2.262 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1655, allocations: 0 / 0.6128 GB, free: 2.262 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.0005626/0.1661, allocations: 337.7 kB / 0.6131 GB, free: 1.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1661, allocations: 8.031 kB / 0.6132 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.1662, allocations: 42.75 kB / 0.6132 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.1662, allocations: 12.89 kB / 0.6132 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1665, allocations: 162.2 kB / 0.6134 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1665, allocations: 4.375 kB / 0.6134 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1665, allocations: 4.375 kB / 0.6134 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1667, allocations: 65.75 kB / 0.6134 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1667, allocations: 7.938 kB / 0.6134 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1667, allocations: 0 / 0.6134 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1667, allocations: 0 / 0.6134 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.1668, allocations: 27.92 kB / 0.6135 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005857/0.1673, allocations: 454.2 kB / 0.6139 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.1674, allocations: 169.1 kB / 0.6141 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.1675, allocations: 88.14 kB / 0.6141 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.1675, allocations: 75.28 kB / 0.6142 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.1676, allocations: 105.8 kB / 0.6143 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.1676, allocations: 0 / 0.6143 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.647e-05/0.1677, allocations: 49.48 kB / 0.6144 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.1677, allocations: 126.7 kB / 0.6145 GB, free: 412 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1679, allocations: 187.2 kB / 0.6147 GB, free: 212 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.168, allocations: 25.7 kB / 0.6147 GB, free: 180 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.168, allocations: 108.1 kB / 0.6148 GB, free: 68 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-06/0.1681, allocations: 112 / 0.6148 GB, free: 68 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.1681, allocations: 17.66 kB / 0.6148 GB, free: 44 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1682, allocations: 318.8 kB / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1683, allocations: 4 kB / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.1683, allocations: 0 / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.1683, allocations: 20.86 kB / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1683, allocations: 0 / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001196/0.1684, allocations: 49.59 kB / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1684, allocations: 4 kB / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1684, allocations: 0 / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1685, allocations: 3.938 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.1685, allocations: 4 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1685, allocations: 0 / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.1685, allocations: 32 / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1686, allocations: 4 kB / 0.6152 GB, free: 15.62 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.0001183/0.1687, allocations: 193.2 kB / 0.6154 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.715e-05/0.1688, allocations: 124.8 kB / 0.6155 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.1688, allocations: 117.2 kB / 0.6156 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/0.1689, allocations: 180.2 kB / 0.6158 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.293e-05/0.169, allocations: 188.2 kB / 0.616 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-05/0.1691, allocations: 180.2 kB / 0.6161 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1694, allocations: 408.2 kB / 0.6165 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.1694, allocations: 101 kB / 0.6166 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.1694, allocations: 101 kB / 0.6167 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.904e-05/0.1695, allocations: 184.2 kB / 0.6169 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.1696, allocations: 180.3 kB / 0.6171 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.604e-05/0.1697, allocations: 196.1 kB / 0.6173 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.565e-05/0.1698, allocations: 176.3 kB / 0.6174 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.17, allocations: 311.7 kB / 0.6177 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.17, allocations: 124.9 kB / 0.6178 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1701, allocations: 192.1 kB / 0.618 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1702, allocations: 104.9 kB / 0.6181 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.1703, allocations: 180.2 kB / 0.6183 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1704, allocations: 101 kB / 0.6184 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1705, allocations: 141.2 kB / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1705, allocations: 0 / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.1707, allocations: 19.94 kB / 0.6185 GB, free: 12 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.0004599/0.1712, allocations: 0.8125 MB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.48e-05/0.1713, allocations: 4 kB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1713, allocations: 64 / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.1713, allocations: 4 kB / 0.6193 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.1719, allocations: 0.4991 MB / 0.6198 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1736, allocations: 1.648 MB / 0.6214 GB, free: 8.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.1739, allocations: 0.6963 MB / 0.6221 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.174, allocations: 8.734 kB / 0.6221 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.1741, allocations: 27.38 kB / 0.6222 GB, free: 8.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1741, allocations: 0 / 0.6222 GB, free: 8.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.2066, allocations: 3.158 MB / 0.6252 GB, free: 5.125 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.14, allocations: 8.406 kB / 0.6252 GB, free: 5.121 MB / 446.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.304457660997286] Failed to read output from testmodel.py, exit status != 0: 11.245276085101068 11.27674155 11.105741636 Calling exit ...