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.1505/0.1505, allocations: 23.88 MB / 42.73 MB, free: 2.562 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.00118/0.00118, allocations: 116.2 kB / 52.41 MB, free: 256 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.001529/0.001529, allocations: 215.3 kB / 62.23 MB, free: 2.09 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.46/1.46, allocations: 230.6 MB / 302.5 MB, free: 7.027 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.1377/0.1377, allocations: 23.74 MB / 389.2 MB, free: 8.906 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",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.003349/0.003349, allocations: 123.6 kB / 0.5251 GB, free: 42.22 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1286, allocations: 65.97 MB / 0.5895 GB, free: 9.66 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.07002/0.1986, allocations: 22.9 MB / 0.6119 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1998, allocations: 458.9 kB / 0.6123 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1999, allocations: 7.938 kB / 0.6124 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2, allocations: 19.78 kB / 0.6124 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.2001, allocations: 47.64 kB / 0.6124 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.227e-05/0.2002, allocations: 11.92 kB / 0.6124 GB, free: 2.305 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.2004, allocations: 111.3 kB / 0.6125 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.2005, allocations: 21.06 kB / 0.6126 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.2006, allocations: 35.86 kB / 0.6126 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.2006, allocations: 35.8 kB / 0.6126 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2007, allocations: 4 kB / 0.6126 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.037e-05/0.2007, allocations: 8 kB / 0.6126 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.2007, allocations: 7.938 kB / 0.6126 GB, free: 2.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.2008, allocations: 43.78 kB / 0.6127 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.201, allocations: 107.4 kB / 0.6128 GB, free: 1.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.201, allocations: 0 / 0.6128 GB, free: 1.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.201, allocations: 0 / 0.6128 GB, free: 1.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.201, allocations: 0 / 0.6128 GB, free: 1.934 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.0005305/0.2016, allocations: 325.8 kB / 0.6131 GB, free: 1.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2016, allocations: 15.98 kB / 0.6131 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.2016, allocations: 34.75 kB / 0.6131 GB, free: 1.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.2017, allocations: 12.89 kB / 0.6132 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.2019, allocations: 170.2 kB / 0.6133 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.202, allocations: 384 / 0.6133 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.202, allocations: 4.375 kB / 0.6133 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2021, allocations: 61.81 kB / 0.6134 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2021, allocations: 0 / 0.6134 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.2021, allocations: 0 / 0.6134 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2021, allocations: 0 / 0.6134 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.516e-05/0.2022, allocations: 27.92 kB / 0.6134 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.2027, allocations: 446.2 kB / 0.6138 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.2028, allocations: 169.1 kB / 0.614 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.2029, allocations: 88.17 kB / 0.6141 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.2029, allocations: 79.28 kB / 0.6142 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.685e-05/0.203, allocations: 109.8 kB / 0.6143 GB, free: 292 kB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.203, allocations: 0 / 0.6143 GB, free: 292 kB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 9.683e-05/0.2031, allocations: 49.48 kB / 0.6143 GB, free: 236 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.2032, allocations: 126.7 kB / 0.6144 GB, free: 96 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2034, allocations: 183.2 kB / 0.6146 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.2034, allocations: 25.7 kB / 0.6146 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2035, allocations: 108.1 kB / 0.6147 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.2035, allocations: 0 / 0.6147 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.2036, allocations: 21.66 kB / 0.6148 GB, free: 15.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2037, allocations: 322.8 kB / 0.6151 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.2037, allocations: 7.984 kB / 0.6151 GB, free: 15.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.2037, allocations: 0 / 0.6151 GB, free: 15.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.2038, allocations: 8.859 kB / 0.6151 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2038, allocations: 3.938 kB / 0.6151 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001067/0.2039, allocations: 45.59 kB / 0.6151 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2039, allocations: 10.34 kB / 0.6151 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2039, allocations: 0 / 0.6151 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.2039, allocations: 8.031 kB / 0.6151 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.204, allocations: 0 / 0.6151 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.204, allocations: 0 / 0.6151 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.204, allocations: 7.938 kB / 0.6152 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.204, allocations: 0 / 0.6152 GB, free: 15.31 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.0001161/0.2041, allocations: 193.1 kB / 0.6153 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.2042, allocations: 116.9 kB / 0.6154 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.862e-05/0.2043, allocations: 121.2 kB / 0.6156 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.714e-05/0.2044, allocations: 184.2 kB / 0.6157 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.2045, allocations: 180.2 kB / 0.6159 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-05/0.2045, allocations: 180.3 kB / 0.6161 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.2048, allocations: 400.3 kB / 0.6165 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.801e-05/0.2049, allocations: 112.9 kB / 0.6166 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.2049, allocations: 105 kB / 0.6167 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.205, allocations: 184.3 kB / 0.6168 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.2051, allocations: 184.2 kB / 0.617 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.183e-05/0.2052, allocations: 180.2 kB / 0.6172 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.412e-05/0.2053, allocations: 180.2 kB / 0.6174 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.2055, allocations: 323.7 kB / 0.6177 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.2055, allocations: 112.9 kB / 0.6178 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.2056, allocations: 184.2 kB / 0.618 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2057, allocations: 112.9 kB / 0.6181 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.2058, allocations: 184.3 kB / 0.6182 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.2059, allocations: 104.9 kB / 0.6183 GB, free: 11.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.206, allocations: 137.2 kB / 0.6185 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.206, allocations: 0 / 0.6185 GB, free: 11.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000213/0.2062, allocations: 12 kB / 0.6185 GB, free: 11.7 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.0004597/0.2067, allocations: 0.8009 MB / 0.6193 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.2068, allocations: 11.92 kB / 0.6193 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2068, allocations: 0 / 0.6193 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.2068, allocations: 4.062 kB / 0.6193 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.2074, allocations: 0.4956 MB / 0.6198 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2091, allocations: 1.652 MB / 0.6214 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.523e-05/0.2092, allocations: 88.19 kB / 0.6215 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.2092, allocations: 8.641 kB / 0.6215 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.2093, allocations: 27.42 kB / 0.6215 GB, free: 8.48 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2093, allocations: 0 / 0.6215 GB, free: 8.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/0.2435, allocations: 3.846 MB / 0.6253 GB, free: 4.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.32, allocations: 3.188 kB / 0.6253 GB, free: 4.77 MB / 446.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.513112513988744] Failed to read output from testmodel.py, exit status != 0: 11.424767730000895 11.447601169 11.24231057 Calling exit ...