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.2215/0.2215, allocations: 23.87 MB / 42.7 MB, free: 2.641 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.001406/0.001406, allocations: 103.8 kB / 52.39 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.001758/0.001758, allocations: 206.3 kB / 62.22 MB, free: 2.16 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.581/1.581, 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.1894/0.1894, allocations: 23.71 MB / 389.1 MB, free: 9.168 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.003481/0.003481, allocations: 126.4 kB / 0.5256 GB, free: 42.31 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1622, allocations: 65.98 MB / 0.5901 GB, free: 9.445 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.04201/0.2042, allocations: 22.85 MB / 0.6124 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2055, allocations: 482.8 kB / 0.6129 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.2056, allocations: 7.938 kB / 0.6129 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.2057, allocations: 15.8 kB / 0.6129 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2058, allocations: 47.62 kB / 0.6129 GB, free: 2.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.463e-05/0.2059, allocations: 7.984 kB / 0.6129 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.2061, allocations: 111.3 kB / 0.613 GB, free: 2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2062, allocations: 25.05 kB / 0.6131 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.2063, allocations: 47.8 kB / 0.6131 GB, free: 1.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.2064, allocations: 31.8 kB / 0.6131 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2064, allocations: 4 kB / 0.6131 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.2064, allocations: 8 kB / 0.6132 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.2064, allocations: 11.88 kB / 0.6132 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.581e-05/0.2065, allocations: 51.73 kB / 0.6132 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2067, allocations: 83.59 kB / 0.6133 GB, free: 1.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2067, allocations: 4 kB / 0.6133 GB, free: 1.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2067, allocations: 0 / 0.6133 GB, free: 1.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2067, allocations: 0 / 0.6133 GB, free: 1.734 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.0005853/0.2073, allocations: 341.8 kB / 0.6136 GB, free: 1.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2073, allocations: 8.031 kB / 0.6136 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.2074, allocations: 12.89 kB / 0.6136 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.2076, allocations: 154.2 kB / 0.6138 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2077, allocations: 8.312 kB / 0.6138 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.2077, allocations: 4.375 kB / 0.6138 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.2078, allocations: 73.92 kB / 0.6139 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2078, allocations: 0 / 0.6139 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2079, allocations: 3.938 kB / 0.6139 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2079, allocations: 0 / 0.6139 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.2079, allocations: 23.94 kB / 0.6139 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.2085, allocations: 458.2 kB / 0.6143 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.2087, allocations: 169.1 kB / 0.6145 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.2087, allocations: 88.14 kB / 0.6146 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.2087, allocations: 75.28 kB / 0.6147 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/0.2088, allocations: 105.8 kB / 0.6148 GB, free: 116 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2088, allocations: 0 / 0.6148 GB, free: 116 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.687e-05/0.2089, allocations: 45.55 kB / 0.6148 GB, free: 64 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.209, allocations: 134.6 kB / 0.6149 GB, free: 15.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.2092, allocations: 183.2 kB / 0.6151 GB, free: 15.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2092, allocations: 25.7 kB / 0.6151 GB, free: 15.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.2093, allocations: 104.1 kB / 0.6152 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.2093, allocations: 0 / 0.6152 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.2094, allocations: 21.7 kB / 0.6152 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2095, allocations: 315 kB / 0.6155 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.2096, allocations: 15.92 kB / 0.6156 GB, free: 15.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.2096, allocations: 4 kB / 0.6156 GB, free: 15.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.2096, allocations: 12.86 kB / 0.6156 GB, free: 15.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2096, allocations: 0 / 0.6156 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.2097, allocations: 49.55 kB / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2097, allocations: 4 kB / 0.6156 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2097, allocations: 0 / 0.6156 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2098, allocations: 0 / 0.6156 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.2098, allocations: 7.938 kB / 0.6156 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2098, allocations: 4.094 kB / 0.6156 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.2099, allocations: 0 / 0.6156 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2099, allocations: 0 / 0.6156 GB, free: 15.14 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.0001317/0.21, allocations: 193.1 kB / 0.6158 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.2101, allocations: 124.9 kB / 0.6159 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.539e-05/0.2102, allocations: 121.2 kB / 0.6161 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-05/0.2102, allocations: 184.2 kB / 0.6162 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-05/0.2103, allocations: 184.2 kB / 0.6164 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.091e-05/0.2104, allocations: 180.3 kB / 0.6166 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.2108, allocations: 404.3 kB / 0.617 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.515e-05/0.2109, allocations: 104.9 kB / 0.6171 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.211, allocations: 101 kB / 0.6172 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-05/0.211, allocations: 192.2 kB / 0.6173 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.2112, allocations: 176.3 kB / 0.6175 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.318e-05/0.2113, allocations: 180.2 kB / 0.6177 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.2114, allocations: 184.2 kB / 0.6179 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.2116, allocations: 319.6 kB / 0.6182 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.2116, allocations: 116.9 kB / 0.6183 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.2117, allocations: 184.3 kB / 0.6185 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2119, allocations: 108.9 kB / 0.6186 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.212, allocations: 180.2 kB / 0.6187 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.2121, allocations: 104.9 kB / 0.6188 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.2122, allocations: 141.2 kB / 0.619 GB, free: 11.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2122, allocations: 0 / 0.619 GB, free: 11.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.2125, allocations: 15.94 kB / 0.619 GB, free: 11.52 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.0001311/0.2126, allocations: 170.5 kB / 0.6191 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.685e-05/0.2127, allocations: 4 kB / 0.6191 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2127, allocations: 3.938 kB / 0.6191 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.2127, allocations: 0 / 0.6191 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.2134, allocations: 0.5051 MB / 0.6196 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.2138, allocations: 280.4 kB / 0.6199 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.2142, allocations: 0.7002 MB / 0.6206 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.2142, allocations: 8.656 kB / 0.6206 GB, free: 9.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.2142, allocations: 11.44 kB / 0.6206 GB, free: 9.781 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2142, allocations: 0 / 0.6206 GB, free: 9.781 MB / 446.1 MB Notification: Performance of Templates: time 0.004991/0.2192, allocations: 1.546 MB / 0.6221 GB, free: 8.262 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: 5.753700838889927] Failed to read output from testmodel.py, exit status != 0: 0.22741000005044043 0.24380041300000002 0.03386016 Calling exit ...