Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001889/0.001889, 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.001436/0.001436, allocations: 218.8 kB / 23.02 MB, free: 2.953 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.052/1.052, allocations: 230.6 MB / 256.8 MB, free: 9.578 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 2.093/2.093, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009569/0.0009569, allocations: 75.88 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.985, allocations: 180 MB / 1.352 GB, free: 1.688 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1404/1.125, allocations: 129.9 MB / 1.479 GB, free: 15.24 MB / 1.167 GB Notification: Performance of NFInst.instExpressions: time 0.0001532/1.126, allocations: 59.8 kB / 1.479 GB, free: 15.18 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/1.126, allocations: 0 / 1.479 GB, free: 15.18 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001609/1.126, allocations: 8 kB / 1.479 GB, free: 15.18 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 9.686e-05/1.126, allocations: 15.84 kB / 1.479 GB, free: 15.16 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/1.126, allocations: 107.6 kB / 1.48 GB, free: 15.05 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/1.127, allocations: 31.91 kB / 1.48 GB, free: 15.02 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/1.127, allocations: 4 kB / 1.48 GB, free: 15.02 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.396e-05/1.127, allocations: 19.92 kB / 1.48 GB, free: 15 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/1.127, allocations: 11.98 kB / 1.48 GB, free: 14.99 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/1.127, allocations: 3.938 kB / 1.48 GB, free: 14.98 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/1.127, allocations: 71.73 kB / 1.48 GB, free: 14.91 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/1.127, allocations: 7.984 kB / 1.48 GB, free: 14.91 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/1.127, allocations: 7.984 kB / 1.48 GB, free: 14.9 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/1.127, allocations: 70.05 kB / 1.48 GB, free: 14.83 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.127, allocations: 0 / 1.48 GB, free: 14.83 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.216e-06/1.127, allocations: 0 / 1.48 GB, free: 14.83 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.127, allocations: 4 kB / 1.48 GB, free: 14.83 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005298/1.128, allocations: 258.3 kB / 1.48 GB, free: 14.55 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/1.128, allocations: 16.88 kB / 1.48 GB, free: 14.53 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/1.128, allocations: 38.73 kB / 1.48 GB, free: 14.48 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/1.128, allocations: 20.88 kB / 1.48 GB, free: 14.46 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.129, allocations: 118.3 kB / 1.48 GB, free: 14.32 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/1.129, allocations: 51.41 kB / 1.48 GB, free: 14.26 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/1.129, allocations: 0 / 1.48 GB, free: 14.26 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/1.129, allocations: 83.31 kB / 1.48 GB, free: 14.17 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.129, allocations: 0 / 1.48 GB, free: 14.17 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.129, allocations: 0 / 1.48 GB, free: 14.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.129, allocations: 4 kB / 1.48 GB, free: 14.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/1.129, allocations: 15.98 kB / 1.48 GB, free: 14.15 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/1.129, allocations: 228 kB / 1.481 GB, free: 13.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/1.129, allocations: 22.52 kB / 1.481 GB, free: 13.85 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/1.129, allocations: 4.859 kB / 1.481 GB, free: 13.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/1.129, allocations: 4 kB / 1.481 GB, free: 13.84 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/1.129, allocations: 42.56 kB / 1.481 GB, free: 13.79 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/1.129, allocations: 0 / 1.481 GB, free: 13.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001532/1.129, allocations: 33.69 kB / 1.481 GB, free: 13.75 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.129, allocations: 55.34 kB / 1.481 GB, free: 13.68 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/1.13, allocations: 113.7 kB / 1.481 GB, free: 13.56 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/1.13, allocations: 29.7 kB / 1.481 GB, free: 13.53 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/1.13, allocations: 88.09 kB / 1.481 GB, free: 13.44 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/1.13, allocations: 7.891 kB / 1.481 GB, free: 13.43 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/1.13, allocations: 13.72 kB / 1.481 GB, free: 13.41 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/1.13, allocations: 319 kB / 1.481 GB, free: 13.09 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/1.13, allocations: 7.984 kB / 1.481 GB, free: 13.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/1.13, allocations: 22.58 kB / 1.481 GB, free: 13.05 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/1.13, allocations: 26.58 kB / 1.481 GB, free: 13.02 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.13, allocations: 0 / 1.481 GB, free: 13.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.043e-05/1.13, allocations: 57.56 kB / 1.481 GB, free: 12.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.13, allocations: 4 kB / 1.481 GB, free: 12.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.13, allocations: 4.094 kB / 1.481 GB, free: 12.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.13, allocations: 4 kB / 1.481 GB, free: 12.94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/1.13, allocations: 11.92 kB / 1.481 GB, free: 12.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.13, allocations: 4 kB / 1.481 GB, free: 12.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/1.13, allocations: 4 kB / 1.481 GB, free: 12.92 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/1.13, allocations: 0 / 1.481 GB, free: 12.92 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.06e-05/1.13, allocations: 113.8 kB / 1.481 GB, free: 12.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/1.13, allocations: 7.953 kB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/1.13, allocations: 3.156 kB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.13, allocations: 3.938 kB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.13, allocations: 3.938 kB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.13, allocations: 7.984 kB / 1.482 GB, free: 12.78 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.13, allocations: 318.1 kB / 1.482 GB, free: 12.41 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.13, allocations: 4 kB / 1.482 GB, free: 12.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/1.13, allocations: 7.938 kB / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.13, allocations: 0 / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/1.13, allocations: 0 / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.13, allocations: 0 / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.13, allocations: 0 / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.828e-05/1.13, allocations: 57.08 kB / 1.482 GB, free: 12.33 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/1.13, allocations: 19.98 kB / 1.482 GB, free: 12.31 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/1.131, allocations: 0 / 1.482 GB, free: 12.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/1.131, allocations: 0 / 1.482 GB, free: 12.31 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/1.131, allocations: 12.02 kB / 1.482 GB, free: 12.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/1.131, allocations: 0 / 1.482 GB, free: 12.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.55e-05/1.131, allocations: 83.27 kB / 1.482 GB, free: 12.21 MB / 1.167 GB Notification: Performance of sort global known variables: time 5e-08/1.131, allocations: 0 / 1.482 GB, free: 12.21 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0001372/1.131, allocations: 8 kB / 1.482 GB, free: 12.21 MB / 1.167 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 (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 Backend phase and start with SimCode phase: time 0.000277/1.131, allocations: 0.6046 MB / 1.483 GB, free: 11.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.749e-05/1.131, allocations: 15.97 kB / 1.483 GB, free: 11.56 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.131, allocations: 0 / 1.483 GB, free: 11.56 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-06/1.131, allocations: 4 kB / 1.483 GB, free: 11.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/1.131, allocations: 2.062 kB / 1.483 GB, free: 11.55 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/1.132, allocations: 152.4 kB / 1.483 GB, free: 11.36 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.991e-05/1.132, allocations: 59.36 kB / 1.483 GB, free: 11.29 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.056e-05/1.132, allocations: 12.23 kB / 1.483 GB, free: 11.27 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/1.132, allocations: 7.438 kB / 1.483 GB, free: 11.27 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/1.132, allocations: 3.938 kB / 1.483 GB, free: 11.26 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.233, allocations: 1.893 MB / 1.485 GB, free: 9.508 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/9.242, allocations: 8.875 kB / 1.485 GB, free: 9.504 MB / 1.167 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_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_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.650925988331437]