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.1675/0.1675, allocations: 23.87 MB / 42.7 MB, free: 2.652 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.001298/0.001298, allocations: 108.7 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.002744/0.002744, allocations: 206.4 kB / 62.22 MB, free: 2.172 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.671/1.671, allocations: 230.6 MB / 302.5 MB, free: 6.848 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.1915/0.1915, 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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [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.003875/0.003875, allocations: 126.7 kB / 0.5257 GB, free: 42.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1658, allocations: 65.96 MB / 0.5901 GB, free: 9.477 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.04355/0.2093, allocations: 22.85 MB / 0.6124 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2106, allocations: 486.7 kB / 0.6129 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.2107, allocations: 7.938 kB / 0.6129 GB, free: 2.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.2109, allocations: 19.84 kB / 0.6129 GB, free: 2.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.211, allocations: 43.58 kB / 0.6129 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.91e-05/0.2111, allocations: 15.98 kB / 0.6129 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.2114, allocations: 107.3 kB / 0.613 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2115, allocations: 25.05 kB / 0.6131 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.867e-05/0.2116, allocations: 39.75 kB / 0.6131 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.2116, allocations: 35.8 kB / 0.6131 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2117, allocations: 4 kB / 0.6131 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.527e-05/0.2117, allocations: 8 kB / 0.6132 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.2117, allocations: 11.92 kB / 0.6132 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.2118, allocations: 43.75 kB / 0.6132 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.212, allocations: 95.58 kB / 0.6133 GB, free: 1.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.212, allocations: 4 kB / 0.6133 GB, free: 1.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.212, allocations: 0 / 0.6133 GB, free: 1.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.212, allocations: 0 / 0.6133 GB, free: 1.754 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.0007121/0.2127, allocations: 333.7 kB / 0.6136 GB, free: 1.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2127, allocations: 8.031 kB / 0.6136 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.2128, allocations: 12.89 kB / 0.6136 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.2131, allocations: 166.3 kB / 0.6138 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2131, allocations: 384 / 0.6138 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.2131, allocations: 8.312 kB / 0.6138 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2133, allocations: 65.94 kB / 0.6139 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2133, allocations: 0 / 0.6139 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2133, allocations: 0 / 0.6139 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2133, allocations: 0 / 0.6139 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.325e-05/0.2134, allocations: 23.98 kB / 0.6139 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.2142, allocations: 462.2 kB / 0.6143 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2143, allocations: 165.1 kB / 0.6145 GB, free: 432 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.2144, allocations: 84.14 kB / 0.6146 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.2144, allocations: 75.28 kB / 0.6146 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.509e-05/0.2145, allocations: 117.8 kB / 0.6148 GB, free: 140 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2145, allocations: 0 / 0.6148 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001026/0.2146, allocations: 41.61 kB / 0.6148 GB, free: 92 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.2147, allocations: 134.6 kB / 0.6149 GB, free: 15.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.215, allocations: 183.2 kB / 0.6151 GB, free: 15.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.215, allocations: 25.7 kB / 0.6151 GB, free: 15.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.2151, allocations: 104.1 kB / 0.6152 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.2151, allocations: 3.938 kB / 0.6152 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.2151, allocations: 17.72 kB / 0.6152 GB, free: 15.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2153, allocations: 322.8 kB / 0.6156 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.2153, allocations: 4.109 kB / 0.6156 GB, free: 15.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-06/0.2153, allocations: 3.938 kB / 0.6156 GB, free: 15.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.2154, allocations: 16.8 kB / 0.6156 GB, free: 15.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2154, allocations: 0 / 0.6156 GB, free: 15.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001359/0.2155, allocations: 49.61 kB / 0.6156 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2155, allocations: 4 kB / 0.6156 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2155, allocations: 8.078 kB / 0.6156 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2156, allocations: 0 / 0.6156 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.818e-05/0.2156, allocations: 7.938 kB / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2156, allocations: 0 / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.2157, allocations: 0 / 0.6156 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2157, allocations: 0 / 0.6156 GB, free: 15.16 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.0001371/0.2158, allocations: 189.2 kB / 0.6158 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.2159, allocations: 124.8 kB / 0.6159 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.216, allocations: 125.2 kB / 0.6161 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.261e-05/0.2161, allocations: 184.1 kB / 0.6162 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-05/0.2162, allocations: 176.3 kB / 0.6164 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.959e-05/0.2162, allocations: 176.3 kB / 0.6166 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.2167, allocations: 408.2 kB / 0.617 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/0.2167, allocations: 109 kB / 0.6171 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.2168, allocations: 104.9 kB / 0.6172 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.931e-05/0.2169, allocations: 184.3 kB / 0.6173 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.2171, allocations: 176.3 kB / 0.6175 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-05/0.2172, allocations: 184.1 kB / 0.6177 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001883/0.2173, allocations: 180.2 kB / 0.6179 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.2177, allocations: 319.7 kB / 0.6182 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.2177, allocations: 108.9 kB / 0.6183 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2179, allocations: 192.2 kB / 0.6184 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.218, allocations: 108.9 kB / 0.6186 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2181, allocations: 184.2 kB / 0.6187 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.2181, allocations: 105 kB / 0.6188 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.2183, allocations: 133.2 kB / 0.619 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2183, allocations: 0 / 0.619 GB, free: 11.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.2186, allocations: 15.94 kB / 0.619 GB, free: 11.55 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.0001429/0.2187, allocations: 166.5 kB / 0.6191 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.969e-05/0.2188, allocations: 11.94 kB / 0.6191 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2188, allocations: 4.062 kB / 0.6191 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.2188, allocations: 3.938 kB / 0.6191 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.2196, allocations: 0.4984 MB / 0.6196 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.2201, allocations: 288.4 kB / 0.6199 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.2205, allocations: 0.6963 MB / 0.6206 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.2206, allocations: 16.58 kB / 0.6206 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.2206, allocations: 15.44 kB / 0.6206 GB, free: 9.793 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2206, allocations: 0 / 0.6206 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Templates: time 0.005529/0.2261, allocations: 1.553 MB / 0.6221 GB, free: 8.273 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.848760105902329] Failed to read output from testmodel.py, exit status != 0: 0.23472666111774743 0.25069518500000004 0.035589413 Calling exit ...