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.1761/0.1761, allocations: 23.88 MB / 43.52 MB, free: 2.566 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.001248/0.001248, allocations: 113.7 kB / 53.19 MB, free: 260 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.00164/0.00164, allocations: 226.2 kB / 63.01 MB, free: 2.078 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.574/1.574, allocations: 230.6 MB / 303.3 MB, free: 6.953 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.1738/0.1738, allocations: 23.74 MB / 389.9 MB, free: 8.945 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatTransferOnBloodFlow",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.003273/0.003273, allocations: 122.2 kB / 0.5259 GB, free: 42.23 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1419, allocations: 65.97 MB / 0.5903 GB, free: 9.73 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.07386/0.2158, allocations: 22.59 MB / 0.6124 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.217, allocations: 450.7 kB / 0.6128 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2171, allocations: 3.938 kB / 0.6128 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2173, allocations: 23.8 kB / 0.6128 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2174, allocations: 43.62 kB / 0.6129 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.246e-05/0.2175, allocations: 7.984 kB / 0.6129 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.2177, allocations: 115.3 kB / 0.613 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2178, allocations: 13.31 kB / 0.613 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.2179, allocations: 43.8 kB / 0.613 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.2179, allocations: 31.8 kB / 0.6131 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.218, allocations: 8 kB / 0.6131 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.218, allocations: 8 kB / 0.6131 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.218, allocations: 11.94 kB / 0.6131 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.471e-05/0.2181, allocations: 39.8 kB / 0.6131 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.2183, allocations: 91.53 kB / 0.6132 GB, free: 2.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2183, allocations: 0 / 0.6132 GB, free: 2.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2183, allocations: 0 / 0.6132 GB, free: 2.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2183, allocations: 0 / 0.6132 GB, free: 2.332 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.0005401/0.2188, allocations: 345.7 kB / 0.6136 GB, free: 1.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.2189, allocations: 8.031 kB / 0.6136 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.2189, allocations: 4.188 kB / 0.6136 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2189, allocations: 30.75 kB / 0.6136 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.219, allocations: 12.89 kB / 0.6136 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.2193, allocations: 166.2 kB / 0.6138 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2193, allocations: 4.375 kB / 0.6138 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2193, allocations: 8.375 kB / 0.6138 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2195, allocations: 61.5 kB / 0.6138 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2195, allocations: 0 / 0.6138 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2195, allocations: 8 kB / 0.6139 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2195, allocations: 4 kB / 0.6139 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.197e-05/0.2196, allocations: 23.98 kB / 0.6139 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.2202, allocations: 442.2 kB / 0.6143 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2203, allocations: 177.1 kB / 0.6145 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.2204, allocations: 84.14 kB / 0.6145 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.2204, allocations: 75.28 kB / 0.6146 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/0.2205, allocations: 105.8 kB / 0.6147 GB, free: 0.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2205, allocations: 0 / 0.6147 GB, free: 0.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.174e-05/0.2206, allocations: 45.55 kB / 0.6148 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.2207, allocations: 126.7 kB / 0.6149 GB, free: 492 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.2209, allocations: 191.2 kB / 0.6151 GB, free: 288 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2209, allocations: 25.7 kB / 0.6151 GB, free: 256 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.221, allocations: 112.1 kB / 0.6152 GB, free: 140 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.221, allocations: 0 / 0.6152 GB, free: 140 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.2211, allocations: 9.719 kB / 0.6152 GB, free: 124 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2213, allocations: 326.8 kB / 0.6155 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.2213, allocations: 0 / 0.6155 GB, free: 15.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.2213, allocations: 4 kB / 0.6155 GB, free: 15.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.2213, allocations: 12.84 kB / 0.6155 GB, free: 15.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2213, allocations: 64 / 0.6155 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001177/0.2214, allocations: 49.61 kB / 0.6156 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2215, allocations: 4 kB / 0.6156 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.2215, allocations: 4 kB / 0.6156 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2215, allocations: 3.938 kB / 0.6156 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.2215, allocations: 0 / 0.6156 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2216, allocations: 3.984 kB / 0.6156 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.815e-05/0.2216, allocations: 3.938 kB / 0.6156 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2216, allocations: 8 kB / 0.6156 GB, free: 15.69 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.0001623/0.2218, allocations: 185.1 kB / 0.6158 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.2219, allocations: 124.9 kB / 0.6159 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.222, allocations: 121.2 kB / 0.616 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/0.2221, allocations: 184.2 kB / 0.6162 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-05/0.2222, allocations: 184.3 kB / 0.6164 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/0.2223, allocations: 184.2 kB / 0.6165 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2227, allocations: 400.4 kB / 0.6169 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-05/0.2227, allocations: 104.9 kB / 0.617 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.2228, allocations: 112.9 kB / 0.6171 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.719e-05/0.2229, allocations: 176.3 kB / 0.6173 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.223, allocations: 184.1 kB / 0.6175 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001083/0.2231, allocations: 184.2 kB / 0.6177 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.844e-05/0.2232, allocations: 184.3 kB / 0.6178 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2234, allocations: 311.7 kB / 0.6181 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.2234, allocations: 120.8 kB / 0.6182 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2236, allocations: 188.2 kB / 0.6184 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.2237, allocations: 101 kB / 0.6185 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.2238, allocations: 184.2 kB / 0.6187 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.2238, allocations: 101 kB / 0.6188 GB, free: 12.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.2239, allocations: 141.2 kB / 0.6189 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2239, allocations: 0 / 0.6189 GB, free: 12.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.2242, allocations: 12 kB / 0.6189 GB, free: 12.08 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.0004996/0.2247, allocations: 0.8087 MB / 0.6197 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.247e-05/0.2248, allocations: 11.94 kB / 0.6197 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2248, allocations: 0 / 0.6197 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.2248, allocations: 0 / 0.6197 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.2254, allocations: 0.5031 MB / 0.6202 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.2273, allocations: 1.648 MB / 0.6218 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.797e-05/0.2274, allocations: 88.12 kB / 0.6219 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.896e-05/0.2274, allocations: 4.656 kB / 0.6219 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.2275, allocations: 31.42 kB / 0.622 GB, free: 8.859 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2275, allocations: 0 / 0.622 GB, free: 8.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2554, allocations: 3.451 MB / 0.6253 GB, free: 5.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.87, allocations: 10.41 kB / 0.6253 GB, free: 5.551 MB / 446.1 MB " [Timeout remaining time 648] (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: 15.37712671305053] Failed to read output from testmodel.py, exit status != 0: 12.029522623983212 12.045778002 11.824391264 Calling exit ...