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.1812/0.1812, allocations: 23.89 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.001361/0.001361, allocations: 111.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.001828/0.001828, 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.614/1.614, allocations: 230.6 MB / 303.3 MB, free: 6.949 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.1783/0.1783, allocations: 23.74 MB / 389.9 MB, free: 8.926 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.003332/0.003332, allocations: 121.4 kB / 0.5259 GB, free: 42.39 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1486, allocations: 65.97 MB / 0.5903 GB, free: 9.711 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.07347/0.2221, allocations: 22.59 MB / 0.6124 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2238, allocations: 454.8 kB / 0.6128 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.224, allocations: 7.938 kB / 0.6128 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.2242, allocations: 11.86 kB / 0.6128 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.2244, allocations: 51.56 kB / 0.6129 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.943e-05/0.2244, allocations: 11.98 kB / 0.6129 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.2247, allocations: 111.3 kB / 0.613 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2249, allocations: 13.31 kB / 0.613 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.225, allocations: 39.8 kB / 0.613 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.2251, allocations: 39.78 kB / 0.6131 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2251, allocations: 4 kB / 0.6131 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.2251, allocations: 4 kB / 0.6131 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.2252, allocations: 15.94 kB / 0.6131 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.2252, allocations: 39.8 kB / 0.6131 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.2254, allocations: 91.53 kB / 0.6132 GB, free: 2.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2255, allocations: 4 kB / 0.6132 GB, free: 2.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.2255, allocations: 0 / 0.6132 GB, free: 2.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.2255, allocations: 0 / 0.6132 GB, free: 2.305 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.0007736/0.2262, allocations: 333.7 kB / 0.6136 GB, free: 1.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.2263, allocations: 12.03 kB / 0.6136 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.217e-05/0.2263, allocations: 4.188 kB / 0.6136 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.2264, allocations: 30.75 kB / 0.6136 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2264, allocations: 12.89 kB / 0.6136 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2268, allocations: 166.3 kB / 0.6138 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2268, allocations: 384 / 0.6138 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2268, allocations: 12.31 kB / 0.6138 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.227, allocations: 61.56 kB / 0.6138 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.227, allocations: 0 / 0.6138 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2271, allocations: 4 kB / 0.6138 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2271, allocations: 0 / 0.6138 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.2271, allocations: 23.98 kB / 0.6139 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/0.2279, allocations: 450.2 kB / 0.6143 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.228, allocations: 173.1 kB / 0.6145 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.2281, allocations: 88.08 kB / 0.6145 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.2281, allocations: 79.28 kB / 0.6146 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.132e-05/0.2282, allocations: 105.8 kB / 0.6147 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2282, allocations: 0 / 0.6147 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.991e-05/0.2283, allocations: 41.55 kB / 0.6148 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.2284, allocations: 130.7 kB / 0.6149 GB, free: 468 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.2287, allocations: 183.2 kB / 0.6151 GB, free: 272 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2287, allocations: 33.7 kB / 0.6151 GB, free: 232 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2288, allocations: 104.1 kB / 0.6152 GB, free: 124 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.2288, allocations: 7.984 kB / 0.6152 GB, free: 116 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.2288, allocations: 13.72 kB / 0.6152 GB, free: 96 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.229, allocations: 318.8 kB / 0.6155 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.2291, allocations: 4 kB / 0.6155 GB, free: 15.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.2291, allocations: 3.938 kB / 0.6155 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.2291, allocations: 16.84 kB / 0.6155 GB, free: 15.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2291, allocations: 0 / 0.6155 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000141/0.2292, allocations: 49.67 kB / 0.6156 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2293, allocations: 4 kB / 0.6156 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2293, allocations: 0 / 0.6156 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.2293, allocations: 3.938 kB / 0.6156 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.2294, allocations: 4 kB / 0.6156 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2294, allocations: 3.984 kB / 0.6156 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.2294, allocations: 4 kB / 0.6156 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2294, allocations: 0 / 0.6156 GB, free: 15.67 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.0001677/0.2296, allocations: 193.1 kB / 0.6158 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.2297, allocations: 124.9 kB / 0.6159 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.439e-05/0.2298, allocations: 121.2 kB / 0.616 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/0.2299, allocations: 180.2 kB / 0.6162 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/0.23, allocations: 188.3 kB / 0.6164 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/0.2301, allocations: 184.2 kB / 0.6166 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.2305, allocations: 400.3 kB / 0.6169 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.814e-05/0.2306, allocations: 101 kB / 0.617 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.2306, allocations: 109 kB / 0.6171 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.835e-05/0.2307, allocations: 184.2 kB / 0.6173 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.2308, allocations: 184.1 kB / 0.6175 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-05/0.2309, allocations: 176.3 kB / 0.6177 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.663e-05/0.231, allocations: 180.3 kB / 0.6178 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2312, allocations: 319.7 kB / 0.6181 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.2313, allocations: 120.8 kB / 0.6182 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2315, allocations: 180.2 kB / 0.6184 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2316, allocations: 109 kB / 0.6185 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2317, allocations: 184.1 kB / 0.6187 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.2317, allocations: 101 kB / 0.6188 GB, free: 12.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.2319, allocations: 137.2 kB / 0.6189 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2319, allocations: 0 / 0.6189 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.2321, allocations: 12 kB / 0.6189 GB, free: 12.06 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.000562/0.2327, allocations: 0.8087 MB / 0.6197 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2328, allocations: 15.94 kB / 0.6197 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2328, allocations: 0 / 0.6197 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.2328, allocations: 0 / 0.6197 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.2335, allocations: 0.4918 MB / 0.6202 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.2354, allocations: 1.656 MB / 0.6218 GB, free: 8.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.2355, allocations: 80.19 kB / 0.6219 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.933e-05/0.2356, allocations: 12.64 kB / 0.6219 GB, free: 8.867 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.2357, allocations: 31.42 kB / 0.622 GB, free: 8.836 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2357, allocations: 96 / 0.622 GB, free: 8.836 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.2629, allocations: 3.452 MB / 0.6253 GB, free: 5.539 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.95, allocations: 2.344 kB / 0.6253 GB, free: 5.539 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.544236090034246] Failed to read output from testmodel.py, exit status != 0: 12.112612123019062 12.143269032 11.912597033 Calling exit ...