Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json 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.001053/0.001053, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001228/0.001228, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.94/0.94, allocations: 177.1 MB / 203.5 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.808/1.808, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.259e-05, allocations: 6.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6079/0.6079, allocations: 119 MB / 1.117 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.6081, allocations: 56.23 kB / 1.117 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.6081, allocations: 0 / 1.117 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.6082, allocations: 10.28 kB / 1.117 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.6083, allocations: 8.922 kB / 1.117 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.609, allocations: 243.5 kB / 1.117 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.6091, allocations: 36.83 kB / 1.117 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.6092, allocations: 10.42 kB / 1.117 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.6092, allocations: 23.41 kB / 1.117 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.6093, allocations: 12.48 kB / 1.117 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.6093, allocations: 1.156 kB / 1.117 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003181/0.6096, allocations: 180.2 kB / 1.117 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.6097, allocations: 4.062 kB / 1.117 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.6097, allocations: 14.48 kB / 1.117 GB, free: 10.35 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.61, allocations: 174.4 kB / 1.118 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.61, allocations: 0 / 1.118 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.61, allocations: 1.125 kB / 1.118 GB, free: 10.31 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.61, allocations: 4 kB / 1.118 GB, free: 10.3 MB / 0.9948 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.0003256/0.6103, allocations: 285.4 kB / 1.118 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6104, allocations: 10.66 kB / 1.118 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.6104, allocations: 32.72 kB / 1.118 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.6104, allocations: 5.484 kB / 1.118 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.726e-05/0.6105, allocations: 104.9 kB / 1.118 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.6105, allocations: 61.78 kB / 1.118 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.6105, allocations: 1.5 kB / 1.118 GB, free: 9.789 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.6106, allocations: 78.05 kB / 1.118 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6107, allocations: 1.125 kB / 1.118 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.6107, allocations: 4 kB / 1.118 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.6107, allocations: 1.219 kB / 1.118 GB, free: 9.711 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.6107, allocations: 17.34 kB / 1.118 GB, free: 9.707 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.6112, allocations: 272.6 kB / 1.118 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.6113, allocations: 21.2 kB / 1.118 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.6113, allocations: 10.72 kB / 1.118 GB, free: 9.422 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.6113, allocations: 26.8 kB / 1.118 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.6114, allocations: 32.67 kB / 1.119 GB, free: 9.379 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.6114, allocations: 4 kB / 1.119 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.6115, allocations: 36.75 kB / 1.119 GB, free: 9.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.6115, allocations: 53.2 kB / 1.119 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.6116, allocations: 101 kB / 1.119 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.6116, allocations: 29.7 kB / 1.119 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.6116, allocations: 87.95 kB / 1.119 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.6116, allocations: 5.844 kB / 1.119 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.6117, allocations: 14.17 kB / 1.119 GB, free: 9.039 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.617e-05/0.6117, allocations: 324.5 kB / 1.119 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.6117, allocations: 4.031 kB / 1.119 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.6117, allocations: 19.25 kB / 1.119 GB, free: 8.695 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.6117, allocations: 24.36 kB / 1.119 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6117, allocations: 1.094 kB / 1.119 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.291e-05/0.6118, allocations: 49.97 kB / 1.119 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6118, allocations: 4.5 kB / 1.119 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6118, allocations: 0.9062 kB / 1.119 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6118, allocations: 5.578 kB / 1.119 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.034e-05/0.6119, allocations: 6.156 kB / 1.119 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6119, allocations: 7.922 kB / 1.119 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.6119, allocations: 2.062 kB / 1.119 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.6119, allocations: 1.953 kB / 1.119 GB, free: 8.629 MB / 0.9948 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 3.756e-05/0.6119, allocations: 117.1 kB / 1.119 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.612, allocations: 1.406 kB / 1.119 GB, free: 8.512 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.612, allocations: 130.3 kB / 1.12 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.6121, allocations: 178.8 kB / 1.12 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.6121, allocations: 182.7 kB / 1.12 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.6121, allocations: 177.8 kB / 1.12 GB, free: 7.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.6122, allocations: 383.3 kB / 1.12 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.6122, allocations: 106.6 kB / 1.12 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.6122, allocations: 106.9 kB / 1.121 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.6122, allocations: 186 kB / 1.121 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6122, allocations: 178.3 kB / 1.121 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.289e-05/0.6123, allocations: 179.3 kB / 1.121 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.468e-05/0.6123, allocations: 181.6 kB / 1.121 GB, free: 6.473 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.074e-05/0.6123, allocations: 307.5 kB / 1.122 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.6123, allocations: 109.6 kB / 1.122 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.6124, allocations: 183.5 kB / 1.122 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.6125, allocations: 106.8 kB / 1.122 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.6125, allocations: 181.9 kB / 1.122 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.6125, allocations: 106.6 kB / 1.122 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.236e-05/0.6125, allocations: 86.58 kB / 1.122 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6125, allocations: 0 / 1.122 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002826/0.6128, allocations: 59.7 kB / 1.122 GB, free: 5.367 MB / 0.9948 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.00035/0.6131, allocations: 0.8928 MB / 1.123 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.6132, allocations: 11.64 kB / 1.123 GB, free: 4.527 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6132, allocations: 5.375 kB / 1.123 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.6132, allocations: 3.094 kB / 1.123 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.6135, allocations: 456.6 kB / 1.124 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.6143, allocations: 1.349 MB / 1.125 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.6143, allocations: 62.95 kB / 1.125 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.6143, allocations: 7.078 kB / 1.125 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.6144, allocations: 10.91 kB / 1.125 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of SimCode: time 4.1e-07/0.6144, allocations: 0 / 1.125 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/0.7284, allocations: 2.914 MB / 1.128 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.254/7.982, allocations: 8.344 kB / 1.128 GB, free: 1.633 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.687675246968865]