Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.00176/0.00176, allocations: 108.3 kB / 19.73 MB, free: 420 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.001143/0.001143, allocations: 214.8 kB / 23.02 MB, free: 2.957 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.029/1.029, 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.992/1.992, 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 71.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8648/0.8658, allocations: 180 MB / 1.352 GB, free: 1.699 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1335/0.9994, allocations: 130.4 MB / 1.48 GB, free: 14.84 MB / 1.167 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.9995, allocations: 51.73 kB / 1.48 GB, free: 14.79 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.9996, allocations: 0 / 1.48 GB, free: 14.79 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.9997, allocations: 3.938 kB / 1.48 GB, free: 14.79 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.9998, allocations: 11.92 kB / 1.48 GB, free: 14.78 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008336/1.001, allocations: 215.7 kB / 1.48 GB, free: 14.57 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/1.001, allocations: 27.92 kB / 1.48 GB, free: 14.54 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/1.001, allocations: 11.98 kB / 1.48 GB, free: 14.53 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/1.001, allocations: 15.88 kB / 1.48 GB, free: 14.51 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/1.001, allocations: 7.984 kB / 1.48 GB, free: 14.5 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/1.001, allocations: 4 kB / 1.48 GB, free: 14.5 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/1.001, allocations: 167.4 kB / 1.48 GB, free: 14.34 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/1.001, allocations: 11.98 kB / 1.48 GB, free: 14.32 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/1.001, allocations: 7.938 kB / 1.48 GB, free: 14.32 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/1.002, allocations: 106 kB / 1.48 GB, free: 14.21 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.002, allocations: 0 / 1.48 GB, free: 14.21 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.817e-06/1.002, allocations: 4 kB / 1.48 GB, free: 14.21 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.116e-06/1.002, allocations: 0 / 1.48 GB, free: 14.21 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.0004338/1.002, allocations: 262.3 kB / 1.481 GB, free: 13.93 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.002, allocations: 12.92 kB / 1.481 GB, free: 13.91 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/1.002, allocations: 30.75 kB / 1.481 GB, free: 13.88 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/1.002, allocations: 36.86 kB / 1.481 GB, free: 13.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.003, allocations: 110.2 kB / 1.481 GB, free: 13.71 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/1.003, allocations: 55.41 kB / 1.481 GB, free: 13.64 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/1.003, allocations: 3.938 kB / 1.481 GB, free: 13.64 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/1.003, allocations: 75.38 kB / 1.481 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.003, allocations: 0 / 1.481 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.003, allocations: 0 / 1.481 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/1.003, allocations: 4 kB / 1.481 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/1.003, allocations: 19.98 kB / 1.481 GB, free: 13.53 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/1.003, allocations: 231.9 kB / 1.481 GB, free: 13.26 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/1.003, allocations: 26.52 kB / 1.481 GB, free: 13.22 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/1.003, allocations: 8.922 kB / 1.481 GB, free: 13.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/1.003, allocations: 15.98 kB / 1.481 GB, free: 13.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/1.003, allocations: 34.56 kB / 1.481 GB, free: 13.15 MB / 1.167 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/1.003, allocations: 0 / 1.481 GB, free: 13.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/1.004, allocations: 53.72 kB / 1.481 GB, free: 13.09 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.004, allocations: 55.34 kB / 1.481 GB, free: 13.03 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/1.004, allocations: 105.8 kB / 1.481 GB, free: 12.91 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/1.004, allocations: 29.7 kB / 1.481 GB, free: 12.88 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/1.004, allocations: 88.09 kB / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/1.004, allocations: 0 / 1.482 GB, free: 12.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/1.004, allocations: 21.66 kB / 1.482 GB, free: 12.76 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/1.004, allocations: 318.8 kB / 1.482 GB, free: 12.44 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/1.004, allocations: 0 / 1.482 GB, free: 12.44 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/1.004, allocations: 34.5 kB / 1.482 GB, free: 12.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/1.004, allocations: 34.55 kB / 1.482 GB, free: 12.36 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.004, allocations: 0 / 1.482 GB, free: 12.36 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.475e-05/1.004, allocations: 53.62 kB / 1.482 GB, free: 12.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.004, allocations: 4 kB / 1.482 GB, free: 12.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.004, allocations: 4.281 kB / 1.482 GB, free: 12.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/1.004, allocations: 0 / 1.482 GB, free: 12.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/1.004, allocations: 8 kB / 1.482 GB, free: 12.28 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.004, allocations: 12.03 kB / 1.482 GB, free: 12.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.45e-05/1.004, allocations: 0 / 1.482 GB, free: 12.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/1.004, allocations: 4 kB / 1.482 GB, free: 12.27 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 5.373e-05/1.004, allocations: 110.4 kB / 1.482 GB, free: 12.15 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1.004, allocations: 7.984 kB / 1.482 GB, free: 12.14 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.669e-05/1.004, allocations: 7.312 kB / 1.482 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/1.004, allocations: 0 / 1.482 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.004, allocations: 3.938 kB / 1.482 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.004, allocations: 0 / 1.482 GB, free: 12.13 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/1.004, allocations: 342.5 kB / 1.482 GB, free: 11.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.004, allocations: 4.062 kB / 1.482 GB, free: 11.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/1.004, allocations: 11.92 kB / 1.482 GB, free: 11.72 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/1.004, allocations: 3.938 kB / 1.482 GB, free: 11.72 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/1.004, allocations: 3.938 kB / 1.482 GB, free: 11.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/1.004, allocations: 0 / 1.482 GB, free: 11.71 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.004, allocations: 4 kB / 1.482 GB, free: 11.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.476e-05/1.005, allocations: 62 kB / 1.483 GB, free: 11.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/1.005, allocations: 11.92 kB / 1.483 GB, free: 11.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/1.005, allocations: 0 / 1.483 GB, free: 11.62 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/1.005, allocations: 4.031 kB / 1.483 GB, free: 11.61 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/1.005, allocations: 4 kB / 1.483 GB, free: 11.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/1.005, allocations: 0 / 1.483 GB, free: 11.61 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.794e-05/1.005, allocations: 91.27 kB / 1.483 GB, free: 11.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 5e-08/1.005, allocations: 0 / 1.483 GB, free: 11.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0001325/1.005, allocations: 8 kB / 1.483 GB, free: 11.51 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0006932/1.005, allocations: 0.6093 MB / 1.483 GB, free: 10.87 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.775e-05/1.006, allocations: 19.97 kB / 1.483 GB, free: 10.85 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.006, allocations: 0 / 1.483 GB, free: 10.85 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-06/1.006, allocations: 11.94 kB / 1.483 GB, free: 10.84 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/1.006, allocations: 7.984 kB / 1.483 GB, free: 10.83 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/1.006, allocations: 157.2 kB / 1.483 GB, free: 10.64 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.682e-05/1.006, allocations: 63.28 kB / 1.484 GB, free: 10.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 4.087e-05/1.006, allocations: 8.312 kB / 1.484 GB, free: 10.55 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/1.006, allocations: 11.44 kB / 1.484 GB, free: 10.54 MB / 1.167 GB Notification: Performance of SimCode: time 8.71e-07/1.006, allocations: 0 / 1.484 GB, free: 10.54 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07826/1.085, allocations: 2.004 MB / 1.485 GB, free: 8.668 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/8.402, allocations: 10.42 kB / 1.485 GB, free: 8.664 MB / 1.167 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_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_AirTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.53628314845264]