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.172/0.172, allocations: 23.87 MB / 40.92 MB, free: 8.613 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: 99.41 kB / 50.27 MB, free: 2.582 MB / 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.001619/0.001619, allocations: 227.4 kB / 59.77 MB, free: 6.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.489/1.489, allocations: 230.5 MB / 299.6 MB, free: 7.625 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.1342/0.1342, allocations: 23.7 MB / 385.9 MB, free: 10.34 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.003358/0.003358, allocations: 115.8 kB / 0.5203 GB, free: 42.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1647, allocations: 65.92 MB / 0.5847 GB, free: 11.51 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.04507/0.2098, allocations: 22.66 MB / 0.6068 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.2113, allocations: 474.8 kB / 0.6072 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2115, allocations: 11.94 kB / 0.6073 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.2117, allocations: 23.78 kB / 0.6073 GB, free: 4.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.2118, allocations: 35.64 kB / 0.6073 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.782e-05/0.2119, allocations: 19.92 kB / 0.6073 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.2122, allocations: 107.3 kB / 0.6074 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2123, allocations: 20.88 kB / 0.6075 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.2124, allocations: 43.78 kB / 0.6075 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2125, allocations: 39.8 kB / 0.6075 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.2125, allocations: 4 kB / 0.6075 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.2126, allocations: 8 kB / 0.6075 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.2126, allocations: 15.88 kB / 0.6076 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.2127, allocations: 43.73 kB / 0.6076 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2129, allocations: 91.59 kB / 0.6077 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2129, allocations: 0 / 0.6077 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2129, allocations: 0 / 0.6077 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.2129, allocations: 0 / 0.6077 GB, free: 3.996 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.0008221/0.2137, allocations: 406.9 kB / 0.6081 GB, free: 3.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2138, allocations: 12.03 kB / 0.6081 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.292e-05/0.2138, allocations: 8.172 kB / 0.6081 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/0.2139, allocations: 42.69 kB / 0.6081 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.214, allocations: 16.83 kB / 0.6082 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.2144, allocations: 221.2 kB / 0.6084 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2144, allocations: 8.375 kB / 0.6084 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2144, allocations: 4.375 kB / 0.6084 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2146, allocations: 69.56 kB / 0.6084 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2146, allocations: 0 / 0.6084 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2146, allocations: 0 / 0.6084 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2146, allocations: 4 kB / 0.6084 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.2147, allocations: 27.92 kB / 0.6085 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.2153, allocations: 475.2 kB / 0.6089 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2155, allocations: 173.1 kB / 0.6091 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.2155, allocations: 84.14 kB / 0.6092 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2155, allocations: 79.28 kB / 0.6093 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/0.2156, allocations: 105.8 kB / 0.6094 GB, free: 2.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.2156, allocations: 0 / 0.6094 GB, free: 2.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001196/0.2157, allocations: 45.48 kB / 0.6094 GB, free: 2.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.2158, allocations: 130.7 kB / 0.6095 GB, free: 1.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.2161, allocations: 183.1 kB / 0.6097 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2161, allocations: 29.7 kB / 0.6097 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.2162, allocations: 112.2 kB / 0.6098 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.2162, allocations: 3.938 kB / 0.6098 GB, free: 1.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.2162, allocations: 13.7 kB / 0.6098 GB, free: 1.566 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2164, allocations: 318.8 kB / 0.6102 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.512e-05/0.2164, allocations: 3.984 kB / 0.6102 GB, free: 1.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.2164, allocations: 12 kB / 0.6102 GB, free: 1.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.995e-05/0.2165, allocations: 8.797 kB / 0.6102 GB, free: 1.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2165, allocations: 0 / 0.6102 GB, free: 1.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001417/0.2166, allocations: 53.55 kB / 0.6102 GB, free: 1.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2166, allocations: 4 kB / 0.6102 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2166, allocations: 4 kB / 0.6102 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2166, allocations: 3.938 kB / 0.6102 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.2167, allocations: 0 / 0.6102 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2167, allocations: 96 / 0.6102 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2168, allocations: 4 kB / 0.6102 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.2168, allocations: 4 kB / 0.6102 GB, free: 1.141 MB / 430.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.0002318/0.217, allocations: 193.1 kB / 0.6104 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2171, allocations: 120.8 kB / 0.6105 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.2172, allocations: 117.3 kB / 0.6107 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00017/0.2174, allocations: 184.2 kB / 0.6108 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/0.2175, allocations: 188.2 kB / 0.611 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/0.2176, allocations: 176.3 kB / 0.6112 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.218, allocations: 433.1 kB / 0.6116 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.795e-05/0.2181, allocations: 105 kB / 0.6117 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.2181, allocations: 101 kB / 0.6118 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.2182, allocations: 188.2 kB / 0.612 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/0.2183, allocations: 180.2 kB / 0.6121 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001066/0.2184, allocations: 192.2 kB / 0.6123 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001014/0.2185, allocations: 176.3 kB / 0.6125 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2188, allocations: 323.7 kB / 0.6128 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.2189, allocations: 190 kB / 0.613 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.219, allocations: 184.1 kB / 0.6132 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2192, allocations: 105 kB / 0.6133 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.2193, allocations: 176.3 kB / 0.6134 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.2193, allocations: 108.9 kB / 0.6135 GB, free: 13.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.2195, allocations: 137.2 kB / 0.6137 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2195, allocations: 0 / 0.6137 GB, free: 13.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2197, allocations: 19.94 kB / 0.6137 GB, free: 13.4 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.0005799/0.2203, allocations: 0.8009 MB / 0.6145 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.2204, allocations: 11.88 kB / 0.6145 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2204, allocations: 4.062 kB / 0.6145 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.2204, allocations: 0 / 0.6145 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.2212, allocations: 0.4948 MB / 0.615 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.2234, allocations: 1.663 MB / 0.6166 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.2238, allocations: 0.6963 MB / 0.6173 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.2239, allocations: 4.656 kB / 0.6173 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.2239, allocations: 27.42 kB / 0.6173 GB, free: 9.559 MB / 446.1 MB Notification: Performance of SimCode: time 1.994e-06/0.2239, allocations: 4 kB / 0.6173 GB, free: 9.555 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.2464, allocations: 3.106 MB / 0.6203 GB, free: 6.531 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/9.019, allocations: 4.062 kB / 0.6203 GB, free: 6.527 MB / 446.1 MB " [Timeout remaining time 651] (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: 12.276827547990251] Failed to read output from testmodel.py, exit status != 0: 9.14592028700281 9.161060299 8.945213057 Calling exit ...