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.1871/0.1871, allocations: 23.87 MB / 43.49 MB, free: 2.66 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.001227/0.001227, allocations: 107.6 kB / 53.18 MB, free: 352 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.001725/0.001725, allocations: 211.2 kB / 63 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.577/1.577, allocations: 230.6 MB / 303.3 MB, free: 6.844 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.1838/0.1838, allocations: 23.71 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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="cs",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.003319/0.003319, allocations: 127.5 kB / 0.5259 GB, free: 42.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1269, allocations: 65.96 MB / 0.5904 GB, free: 9.965 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.0505/0.1774, allocations: 22.69 MB / 0.6125 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1786, allocations: 482.8 kB / 0.613 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1787, allocations: 7.938 kB / 0.613 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1789, allocations: 23.78 kB / 0.613 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.179, allocations: 39.64 kB / 0.613 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.369e-05/0.179, allocations: 11.98 kB / 0.6131 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1792, allocations: 111.3 kB / 0.6132 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1793, allocations: 28.98 kB / 0.6132 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1794, allocations: 31.88 kB / 0.6132 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.1795, allocations: 39.73 kB / 0.6133 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1795, allocations: 4 kB / 0.6133 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.1795, allocations: 8 kB / 0.6133 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.1795, allocations: 15.92 kB / 0.6133 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1796, allocations: 51.73 kB / 0.6133 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1797, allocations: 87.59 kB / 0.6134 GB, free: 2.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1797, allocations: 0 / 0.6134 GB, free: 2.422 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1797, allocations: 0 / 0.6134 GB, free: 2.422 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1798, allocations: 0 / 0.6134 GB, free: 2.422 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.0005156/0.1803, allocations: 337.6 kB / 0.6137 GB, free: 2.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1803, allocations: 12.03 kB / 0.6138 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.871e-05/0.1803, allocations: 4.188 kB / 0.6138 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.1804, allocations: 34.75 kB / 0.6138 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1804, allocations: 16.88 kB / 0.6138 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.1807, allocations: 158.3 kB / 0.614 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1807, allocations: 4.312 kB / 0.614 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1807, allocations: 4.375 kB / 0.614 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1808, allocations: 65.56 kB / 0.614 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1808, allocations: 4 kB / 0.614 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1808, allocations: 0 / 0.614 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1809, allocations: 3.984 kB / 0.614 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.1809, allocations: 20 kB / 0.6141 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.1815, allocations: 454.3 kB / 0.6145 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1816, allocations: 169.1 kB / 0.6147 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.1816, allocations: 84.14 kB / 0.6147 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.1816, allocations: 75.28 kB / 0.6148 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.058e-05/0.1817, allocations: 105.8 kB / 0.6149 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1817, allocations: 4.047 kB / 0.6149 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.382e-05/0.1818, allocations: 49.48 kB / 0.615 GB, free: 0.707 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.756e-05/0.1819, allocations: 134.7 kB / 0.6151 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.1821, allocations: 187.2 kB / 0.6153 GB, free: 376 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1821, allocations: 25.7 kB / 0.6153 GB, free: 344 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-05/0.1822, allocations: 104.1 kB / 0.6154 GB, free: 236 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.1822, allocations: 0 / 0.6154 GB, free: 236 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.1822, allocations: 13.72 kB / 0.6154 GB, free: 216 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1824, allocations: 318.8 kB / 0.6157 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.1824, allocations: 8 kB / 0.6157 GB, free: 15.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.1825, allocations: 4 kB / 0.6157 GB, free: 15.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.1825, allocations: 12.8 kB / 0.6157 GB, free: 15.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1825, allocations: 0 / 0.6157 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001134/0.1826, allocations: 53.59 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1826, allocations: 4 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1826, allocations: 0 / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1826, allocations: 3.938 kB / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.1827, allocations: 0 / 0.6158 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1827, allocations: 4 kB / 0.6158 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.1827, allocations: 4.094 kB / 0.6158 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.1827, allocations: 0 / 0.6158 GB, free: 15.79 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.0001286/0.1829, allocations: 189.1 kB / 0.616 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.1829, allocations: 120.8 kB / 0.6161 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.183, allocations: 121.2 kB / 0.6162 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-05/0.1831, allocations: 180.3 kB / 0.6164 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.985e-05/0.1832, allocations: 192.2 kB / 0.6166 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.868e-05/0.1833, allocations: 176.3 kB / 0.6167 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.1836, allocations: 412.2 kB / 0.6171 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.427e-05/0.1836, allocations: 101 kB / 0.6172 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.1837, allocations: 105 kB / 0.6173 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001707/0.1839, allocations: 196.1 kB / 0.6175 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.569e-05/0.184, allocations: 184.2 kB / 0.6177 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.452e-05/0.184, allocations: 180.2 kB / 0.6179 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.803e-05/0.1841, allocations: 176.3 kB / 0.618 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.1843, allocations: 311.7 kB / 0.6183 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.1844, allocations: 120.9 kB / 0.6184 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.1845, allocations: 188.1 kB / 0.6186 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.1846, allocations: 108.9 kB / 0.6187 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.1847, allocations: 180.2 kB / 0.6189 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-05/0.1848, allocations: 105 kB / 0.619 GB, free: 12.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1849, allocations: 133.2 kB / 0.6191 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1849, allocations: 4 kB / 0.6191 GB, free: 12.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1851, allocations: 12 kB / 0.6191 GB, free: 12.17 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.0005554/0.1857, allocations: 0.8126 MB / 0.6199 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.1858, allocations: 7.938 kB / 0.6199 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1858, allocations: 4.062 kB / 0.6199 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.1858, allocations: 0 / 0.6199 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.1865, allocations: 0.4979 MB / 0.6204 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1883, allocations: 1.652 MB / 0.622 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1887, allocations: 0.6963 MB / 0.6227 GB, free: 8.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1888, allocations: 20.62 kB / 0.6227 GB, free: 8.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.1888, allocations: 27.42 kB / 0.6228 GB, free: 8.312 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1888, allocations: 4 kB / 0.6228 GB, free: 8.309 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.2206, allocations: 3.174 MB / 0.6259 GB, free: 5.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.71, allocations: 9.094 kB / 0.6259 GB, free: 5.262 MB / 446.1 MB " [Timeout remaining time 648] (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: 15.190440376056358] Failed to read output from testmodel.py, exit status != 0: 11.875185000011697 11.905074898 11.720147272 Calling exit ...