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.0008595/0.0008595, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.0008939/0.0008939, allocations: 214.8 kB / 23.03 MB, free: 2.969 MB / 13.93 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.018/1.018, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.999/1.999, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001086/0.001086, allocations: 79.88 kB / 1.177 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.9637, allocations: 180 MB / 1.352 GB, free: 1.711 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1331/1.097, allocations: 119 MB / 1.469 GB, free: 10.26 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.000148/1.097, allocations: 47.86 kB / 1.469 GB, free: 10.21 MB / 1.151 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/1.097, allocations: 0 / 1.469 GB, free: 10.21 MB / 1.151 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/1.097, allocations: 3.938 kB / 1.469 GB, free: 10.21 MB / 1.151 GB Notification: Performance of NFTyping.typeBindings: time 9.381e-05/1.097, allocations: 7.922 kB / 1.469 GB, free: 10.2 MB / 1.151 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/1.098, allocations: 252.1 kB / 1.469 GB, free: 9.957 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/1.098, allocations: 35.84 kB / 1.469 GB, free: 9.922 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 5.915e-05/1.098, allocations: 7.922 kB / 1.469 GB, free: 9.914 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/1.098, allocations: 15.94 kB / 1.469 GB, free: 9.898 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/1.098, allocations: 11.97 kB / 1.469 GB, free: 9.887 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/1.099, allocations: 4 kB / 1.469 GB, free: 9.883 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/1.099, allocations: 175.5 kB / 1.469 GB, free: 9.711 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/1.099, allocations: 15.92 kB / 1.469 GB, free: 9.695 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/1.099, allocations: 4 kB / 1.469 GB, free: 9.691 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/1.099, allocations: 169.9 kB / 1.469 GB, free: 9.527 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.099, allocations: 0 / 1.469 GB, free: 9.527 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.835e-06/1.099, allocations: 0 / 1.469 GB, free: 9.527 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.099, allocations: 4 kB / 1.469 GB, free: 9.523 MB / 1.151 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.0004638/1.1, allocations: 286 kB / 1.47 GB, free: 9.215 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/1.1, allocations: 8.922 kB / 1.47 GB, free: 9.207 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/1.1, allocations: 30.75 kB / 1.47 GB, free: 9.168 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/1.1, allocations: 4.938 kB / 1.47 GB, free: 9.164 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/1.1, allocations: 114.5 kB / 1.47 GB, free: 9.027 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/1.1, allocations: 59.72 kB / 1.47 GB, free: 8.957 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/1.1, allocations: 0 / 1.47 GB, free: 8.957 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/1.1, allocations: 67.39 kB / 1.47 GB, free: 8.879 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.1, allocations: 0 / 1.47 GB, free: 8.879 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.1, allocations: 0 / 1.47 GB, free: 8.879 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/1.1, allocations: 4 kB / 1.47 GB, free: 8.875 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/1.1, allocations: 19.92 kB / 1.47 GB, free: 8.855 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00072/1.101, allocations: 283.9 kB / 1.47 GB, free: 8.535 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/1.101, allocations: 18.58 kB / 1.47 GB, free: 8.508 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/1.101, allocations: 8.859 kB / 1.47 GB, free: 8.496 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/1.101, allocations: 24.05 kB / 1.47 GB, free: 8.473 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.101, allocations: 34.56 kB / 1.47 GB, free: 8.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 2.716e-06/1.101, allocations: 0 / 1.47 GB, free: 8.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.000175/1.101, allocations: 45.61 kB / 1.47 GB, free: 8.379 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/1.101, allocations: 55.34 kB / 1.47 GB, free: 8.312 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/1.101, allocations: 101.8 kB / 1.47 GB, free: 8.203 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.101, allocations: 25.7 kB / 1.47 GB, free: 8.172 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/1.102, allocations: 92.22 kB / 1.471 GB, free: 8.078 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.645e-06/1.102, allocations: 7.953 kB / 1.471 GB, free: 8.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/1.102, allocations: 13.72 kB / 1.471 GB, free: 8.051 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/1.102, allocations: 322.8 kB / 1.471 GB, free: 7.727 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/1.102, allocations: 4 kB / 1.471 GB, free: 7.723 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/1.102, allocations: 13.72 kB / 1.471 GB, free: 7.703 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/1.102, allocations: 25.66 kB / 1.471 GB, free: 7.672 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.102, allocations: 0 / 1.471 GB, free: 7.672 MB / 1.151 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.166e-05/1.102, allocations: 57.62 kB / 1.471 GB, free: 7.609 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.102, allocations: 4 kB / 1.471 GB, free: 7.605 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/1.102, allocations: 3.938 kB / 1.471 GB, free: 7.602 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/1.102, allocations: 0 / 1.471 GB, free: 7.602 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/1.102, allocations: 11.98 kB / 1.471 GB, free: 7.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.102, allocations: 3.984 kB / 1.471 GB, free: 7.586 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/1.102, allocations: 3.938 kB / 1.471 GB, free: 7.582 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/1.102, allocations: 4 kB / 1.471 GB, free: 7.578 MB / 1.151 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 7.43e-05/1.102, allocations: 106.4 kB / 1.471 GB, free: 7.465 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/1.102, allocations: 4 kB / 1.471 GB, free: 7.461 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/1.102, allocations: 125 kB / 1.471 GB, free: 7.328 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-05/1.102, allocations: 184.2 kB / 1.471 GB, free: 7.141 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/1.102, allocations: 176.3 kB / 1.472 GB, free: 6.961 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.545e-05/1.102, allocations: 184.1 kB / 1.472 GB, free: 6.773 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/1.103, allocations: 380.2 kB / 1.472 GB, free: 6.352 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/1.103, allocations: 105 kB / 1.472 GB, free: 6.242 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/1.103, allocations: 104.9 kB / 1.472 GB, free: 6.133 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/1.103, allocations: 176.3 kB / 1.473 GB, free: 5.953 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/1.103, allocations: 192.2 kB / 1.473 GB, free: 5.758 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/1.103, allocations: 176.3 kB / 1.473 GB, free: 5.578 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.253e-05/1.103, allocations: 188.2 kB / 1.473 GB, free: 5.387 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.103, allocations: 312 kB / 1.473 GB, free: 5.059 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/1.103, allocations: 104.9 kB / 1.473 GB, free: 4.949 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/1.103, allocations: 184.3 kB / 1.474 GB, free: 4.762 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.103, allocations: 112.9 kB / 1.474 GB, free: 4.645 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/1.103, allocations: 180.2 kB / 1.474 GB, free: 4.461 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/1.103, allocations: 108.9 kB / 1.474 GB, free: 4.348 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.788e-05/1.103, allocations: 83.28 kB / 1.474 GB, free: 4.266 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/1.103, allocations: 0 / 1.474 GB, free: 4.266 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002211/1.103, allocations: 55.8 kB / 1.474 GB, free: 4.211 MB / 1.151 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.0006267/1.104, allocations: 0.8867 MB / 1.475 GB, free: 3.293 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 9.131e-05/1.104, allocations: 11.98 kB / 1.475 GB, free: 3.281 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.104, allocations: 0 / 1.475 GB, free: 3.281 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/1.104, allocations: 4.062 kB / 1.475 GB, free: 3.277 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/1.105, allocations: 467.6 kB / 1.475 GB, free: 2.816 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009214/1.105, allocations: 1.34 MB / 1.477 GB, free: 1.387 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.109e-05/1.105, allocations: 59.3 kB / 1.477 GB, free: 1.309 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 3.969e-05/1.106, allocations: 8.406 kB / 1.477 GB, free: 1.301 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/1.106, allocations: 11.44 kB / 1.477 GB, free: 1.289 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/1.106, allocations: 4 kB / 1.477 GB, free: 1.285 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09227/1.198, allocations: 2.763 MB / 1.48 GB, free: 14.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.589, allocations: 0.5 kB / 1.48 GB, free: 14.66 MB / 1.167 GB " [Timeout remaining time 291] (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: 13.697816913947463]