Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.1531/0.1531, 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.001163/0.001163, allocations: 105.3 kB / 52.39 MB, free: 360 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.001506/0.001506, allocations: 210.4 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.436/1.436, allocations: 230.6 MB / 302.5 MB, free: 6.836 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.1535/0.1535, 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.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.003294/0.003294, allocations: 126.1 kB / 0.5252 GB, free: 42.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1239, allocations: 65.96 MB / 0.5896 GB, free: 9.977 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.SkinHeatTransferOnBloodFlow): time 0.03538/0.1593, allocations: 22.87 MB / 0.6119 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1604, allocations: 494.6 kB / 0.6124 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.1605, allocations: 7.938 kB / 0.6124 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.1606, allocations: 19.8 kB / 0.6124 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.1607, allocations: 39.64 kB / 0.6125 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.067e-05/0.1608, allocations: 7.984 kB / 0.6125 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1609, allocations: 111.3 kB / 0.6126 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.161, allocations: 24.98 kB / 0.6126 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.1611, allocations: 39.81 kB / 0.6126 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.1612, allocations: 31.8 kB / 0.6127 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1612, allocations: 8 kB / 0.6127 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.1612, allocations: 8 kB / 0.6127 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1612, allocations: 11.92 kB / 0.6127 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.1613, allocations: 51.73 kB / 0.6127 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1614, allocations: 91.59 kB / 0.6128 GB, free: 2.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1614, allocations: 0 / 0.6128 GB, free: 2.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1614, allocations: 0 / 0.6128 GB, free: 2.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.1614, allocations: 3.938 kB / 0.6128 GB, free: 2.246 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.0004636/0.1619, allocations: 329.8 kB / 0.6132 GB, free: 1.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1619, allocations: 12.03 kB / 0.6132 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.162, allocations: 38.73 kB / 0.6132 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.162, allocations: 12.89 kB / 0.6132 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1622, allocations: 162.2 kB / 0.6134 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1623, allocations: 4.312 kB / 0.6134 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1623, allocations: 8.375 kB / 0.6134 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1624, allocations: 53.81 kB / 0.6134 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1624, allocations: 3.984 kB / 0.6134 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1624, allocations: 12 kB / 0.6134 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1624, allocations: 0 / 0.6134 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.1625, allocations: 20 kB / 0.6135 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.163, allocations: 450.2 kB / 0.6139 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.1631, allocations: 169.1 kB / 0.6141 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.1631, allocations: 92.14 kB / 0.6141 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.1631, allocations: 83.22 kB / 0.6142 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.1632, allocations: 105.8 kB / 0.6143 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1632, allocations: 0 / 0.6143 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.1633, allocations: 41.55 kB / 0.6144 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.1633, allocations: 130.7 kB / 0.6145 GB, free: 408 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1635, allocations: 187.2 kB / 0.6147 GB, free: 208 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1635, allocations: 25.7 kB / 0.6147 GB, free: 176 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.1636, allocations: 108.1 kB / 0.6148 GB, free: 64 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.1636, allocations: 0 / 0.6148 GB, free: 64 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1637, allocations: 13.83 kB / 0.6148 GB, free: 44 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1638, allocations: 326.8 kB / 0.6151 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1638, allocations: 0 / 0.6151 GB, free: 15.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.1638, allocations: 4 kB / 0.6151 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.1639, allocations: 16.91 kB / 0.6151 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1639, allocations: 4 kB / 0.6151 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001042/0.164, allocations: 41.61 kB / 0.6152 GB, free: 15.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.164, allocations: 8 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.164, allocations: 0 / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.164, allocations: 3.938 kB / 0.6152 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.376e-05/0.164, allocations: 3.938 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.164, allocations: 0 / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.1641, allocations: 4 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1641, allocations: 4.031 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.0001114/0.1642, allocations: 193.2 kB / 0.6154 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.1643, allocations: 116.9 kB / 0.6155 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/0.1644, allocations: 125.2 kB / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.752e-05/0.1644, allocations: 180.2 kB / 0.6158 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.163e-05/0.1645, allocations: 188.2 kB / 0.616 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-05/0.1646, allocations: 184.2 kB / 0.6161 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.1649, allocations: 404.3 kB / 0.6165 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.1649, allocations: 104.9 kB / 0.6166 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.465e-05/0.165, allocations: 101 kB / 0.6167 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.165, allocations: 176.3 kB / 0.6169 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.1651, allocations: 196.2 kB / 0.6171 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-05/0.1652, allocations: 180.2 kB / 0.6173 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.092e-05/0.1653, allocations: 184.2 kB / 0.6174 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1655, allocations: 303.8 kB / 0.6177 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.996e-05/0.1656, allocations: 128.8 kB / 0.6178 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1657, allocations: 180.3 kB / 0.618 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1658, allocations: 112.9 kB / 0.6181 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.1659, allocations: 176.3 kB / 0.6183 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.1659, allocations: 105 kB / 0.6184 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1661, allocations: 137.2 kB / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1661, allocations: 0 / 0.6185 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1663, allocations: 27.88 kB / 0.6185 GB, free: 11.99 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.0004422/0.1667, allocations: 0.8009 MB / 0.6193 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.1668, allocations: 7.938 kB / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1668, allocations: 0 / 0.6193 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.1668, allocations: 12 kB / 0.6194 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.0006198/0.1674, allocations: 499.6 kB / 0.6198 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.1691, allocations: 1.644 MB / 0.6214 GB, free: 8.922 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1694, allocations: 0.7001 MB / 0.6221 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.758e-05/0.1694, allocations: 12.62 kB / 0.6221 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.1695, allocations: 31.42 kB / 0.6222 GB, free: 8.152 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.1695, allocations: 0 / 0.6222 GB, free: 8.152 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.1994, allocations: 3.158 MB / 0.6252 GB, free: 5.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.07, allocations: 5.625 kB / 0.6252 GB, free: 5.113 MB / 446.1 MB " [Timeout remaining time 649] (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.172278405865654] Failed to read output from testmodel.py, exit status != 0: 11.177561256103218 11.196138207 11.031778417 Calling exit ...