Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 63.89 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9992/1.002, allocations: 168.7 MB / 1.271 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0055/1.007, allocations: 4.074 MB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000195/1.008, allocations: 152.8 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/1.008, allocations: 0.875 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/1.008, allocations: 6.516 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/1.008, allocations: 17.28 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/1.008, allocations: 80.77 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/1.008, allocations: 31.5 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/1.008, allocations: 2.031 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/1.008, allocations: 20.27 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/1.008, allocations: 12.81 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/1.008, allocations: 1.031 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/1.009, allocations: 67.11 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/1.009, allocations: 4 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/1.009, allocations: 15.09 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/1.009, allocations: 42.16 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.009, allocations: 0.8125 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.009, allocations: 0 / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.009, allocations: 0.6562 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000358/1.009, allocations: 333.1 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.009, allocations: 9.688 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/1.009, allocations: 36.23 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/1.009, allocations: 6.438 kB / 1.276 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.202e-05/1.009, allocations: 171.2 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/1.009, allocations: 27.45 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/1.009, allocations: 10.09 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/1.01, allocations: 38.48 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.01, allocations: 6.016 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/1.01, allocations: 0.7188 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/1.01, allocations: 0.7188 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.835e-05/1.01, allocations: 20.7 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/1.01, allocations: 332.5 kB / 1.277 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.597e-05/1.01, allocations: 18.42 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/1.01, allocations: 6.016 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/1.01, allocations: 82.91 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/1.01, allocations: 48.52 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.01, allocations: 0.625 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/1.01, allocations: 33.66 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/1.01, allocations: 52.16 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/1.01, allocations: 102 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/1.01, allocations: 25.7 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/1.01, allocations: 94.7 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/1.01, allocations: 6.219 kB / 1.277 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/1.011, allocations: 22 kB / 1.277 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/1.011, allocations: 321.1 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/1.011, allocations: 3.734 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/1.011, allocations: 23.78 kB / 1.278 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/1.011, allocations: 16 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.011, allocations: 0.875 kB / 1.278 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.344e-05/1.011, allocations: 57.95 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.011, allocations: 4.75 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/1.011, allocations: 1 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.011, allocations: 1.219 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/1.011, allocations: 5.531 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.011, allocations: 1.438 kB / 1.278 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/1.011, allocations: 4.688 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.011, allocations: 2.578 kB / 1.278 GB, free: 2.738 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.711e-05/1.011, allocations: 121 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/1.011, allocations: 1.719 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/1.011, allocations: 126 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/1.011, allocations: 180 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.011, allocations: 184.9 kB / 1.278 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.011, allocations: 177.1 kB / 1.278 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/1.011, allocations: 409 kB / 1.279 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.011, allocations: 109.8 kB / 1.279 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/1.011, allocations: 101.7 kB / 1.279 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.783e-05/1.011, allocations: 182.6 kB / 1.279 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/1.011, allocations: 179.2 kB / 1.279 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.473e-05/1.011, allocations: 181.1 kB / 1.28 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-05/1.011, allocations: 181.2 kB / 1.28 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.167e-05/1.011, allocations: 309.8 kB / 1.28 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/1.012, allocations: 180.9 kB / 1.28 GB, free: 16.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/1.012, allocations: 188.2 kB / 1.28 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.012, allocations: 109.4 kB / 1.281 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/1.012, allocations: 185.2 kB / 1.281 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/1.012, allocations: 107.1 kB / 1.281 GB, free: 15.43 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.176e-05/1.012, allocations: 88.61 kB / 1.281 GB, free: 15.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.281 GB, free: 15.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002432/1.012, allocations: 19.34 kB / 1.281 GB, free: 15.34 MB / 1.014 GB 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.0005782/1.013, allocations: 0.8227 MB / 1.282 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.694e-05/1.013, allocations: 20.72 kB / 1.282 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.013, allocations: 0.9688 kB / 1.282 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/1.013, allocations: 4 kB / 1.282 GB, free: 14.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/1.013, allocations: 467.6 kB / 1.282 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/1.014, allocations: 1.324 MB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.015, allocations: 0.6787 MB / 1.284 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.755e-05/1.015, allocations: 5.016 kB / 1.284 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/1.015, allocations: 11.81 kB / 1.284 GB, free: 12.02 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/1.015, allocations: 3.938 kB / 1.284 GB, free: 12.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.038, allocations: 1.486 MB / 1.286 GB, free: 11.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/9.173, allocations: 2.578 kB / 1.286 GB, free: 11.64 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.374749213980976] Failed to read output from testmodel.py, exit status != 0: 9.245769486005884 9.269659296 8.256088774 Calling exit ...