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.0008932/0.0008932, 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.0009101/0.0009101, 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.8914/0.8914, allocations: 177.1 MB / 203.5 MB, free: 5.543 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.829/1.829, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.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 3.888e-06/3.888e-06, allocations: 4 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.388e-05, allocations: 6.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6212/0.6213, allocations: 130 MB / 1.128 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.6214, allocations: 56.47 kB / 1.128 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.6214, allocations: 0 / 1.128 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.6215, allocations: 6.344 kB / 1.128 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.6216, allocations: 11.56 kB / 1.128 GB, free: 3.457 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.622, allocations: 111.2 kB / 1.128 GB, free: 3.406 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.6221, allocations: 33.97 kB / 1.128 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.6222, allocations: 5.312 kB / 1.128 GB, free: 3.395 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.6222, allocations: 24.03 kB / 1.128 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.6223, allocations: 8.984 kB / 1.128 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.6223, allocations: 1.625 kB / 1.128 GB, free: 3.387 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.6225, allocations: 84.28 kB / 1.128 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.6226, allocations: 6.047 kB / 1.128 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.6226, allocations: 10.8 kB / 1.128 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.6228, allocations: 73.19 kB / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6228, allocations: 1.219 kB / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6228, allocations: 0 / 1.128 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6228, allocations: 0 / 1.128 GB, free: 3.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003307/0.6231, allocations: 260.3 kB / 1.128 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6232, allocations: 10.94 kB / 1.128 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.6232, allocations: 36.45 kB / 1.128 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.6234, allocations: 21.41 kB / 1.128 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.651e-05/0.6234, allocations: 105 kB / 1.128 GB, free: 2.887 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.6235, allocations: 54.17 kB / 1.128 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.6235, allocations: 5.156 kB / 1.128 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6236, allocations: 76.81 kB / 1.129 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.6236, allocations: 0.7969 kB / 1.129 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6236, allocations: 0 / 1.129 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6236, allocations: 3.047 kB / 1.129 GB, free: 2.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.6237, allocations: 18.97 kB / 1.129 GB, free: 2.746 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.6239, allocations: 230.2 kB / 1.129 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.941e-05/0.624, allocations: 16.72 kB / 1.129 GB, free: 2.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.624, allocations: 13.83 kB / 1.129 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.624, allocations: 1.125 kB / 1.129 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.624, allocations: 32.08 kB / 1.129 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.624, allocations: 0 / 1.129 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.6241, allocations: 37.38 kB / 1.129 GB, free: 2.391 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.622e-05/0.6242, allocations: 53.27 kB / 1.129 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.6242, allocations: 117 kB / 1.129 GB, free: 2.215 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.6242, allocations: 27.2 kB / 1.129 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.6243, allocations: 87.69 kB / 1.129 GB, free: 2.098 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.6243, allocations: 5.047 kB / 1.129 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.6243, allocations: 18.62 kB / 1.129 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.6243, allocations: 316.6 kB / 1.129 GB, free: 1.758 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.6243, allocations: 12.94 kB / 1.129 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.6243, allocations: 21.75 kB / 1.13 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.6244, allocations: 32.78 kB / 1.13 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6244, allocations: 0 / 1.13 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.459e-05/0.6244, allocations: 52.56 kB / 1.13 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6245, allocations: 9.203 kB / 1.13 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6245, allocations: 0 / 1.13 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.6245, allocations: 5.406 kB / 1.13 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.6245, allocations: 7.312 kB / 1.13 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.6245, allocations: 1.469 kB / 1.13 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.6246, allocations: 1.469 kB / 1.13 GB, free: 1.652 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.6246, allocations: 11.78 kB / 1.13 GB, free: 1.645 MB / 0.9948 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 3.935e-05/0.6246, allocations: 118.2 kB / 1.13 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.6246, allocations: 5.453 kB / 1.13 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.6246, allocations: 5.406 kB / 1.13 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6246, allocations: 3.984 kB / 1.13 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6246, allocations: 3.203 kB / 1.13 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6246, allocations: 1.5 kB / 1.13 GB, free: 1.516 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6248, allocations: 323.2 kB / 1.13 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6248, allocations: 0 / 1.13 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.643e-06/0.6248, allocations: 1.469 kB / 1.13 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6248, allocations: 6.062 kB / 1.13 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.6248, allocations: 0 / 1.13 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6248, allocations: 8.484 kB / 1.13 GB, free: 1.148 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6248, allocations: 1.438 kB / 1.13 GB, free: 1.148 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.45e-05/0.6248, allocations: 58.42 kB / 1.13 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.6248, allocations: 1.25 kB / 1.13 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.6248, allocations: 2.141 kB / 1.13 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.622e-05/0.6249, allocations: 7.734 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.6249, allocations: 0.7969 kB / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.6249, allocations: 0 / 1.13 GB, free: 1.078 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.6249, allocations: 97.19 kB / 1.13 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6249, allocations: 0 / 1.13 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001278/0.6251, allocations: 5.688 kB / 1.13 GB, free: 0.9922 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 (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.0001385/0.6252, allocations: 0.5943 MB / 1.131 GB, free: 408 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.516e-05/0.6253, allocations: 13.94 kB / 1.131 GB, free: 404 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6253, allocations: 4.5 kB / 1.131 GB, free: 404 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.6253, allocations: 1.25 kB / 1.131 GB, free: 404 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.6255, allocations: 21.94 kB / 1.131 GB, free: 392 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.6258, allocations: 133.4 kB / 1.131 GB, free: 248 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.6258, allocations: 61.25 kB / 1.131 GB, free: 176 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.6258, allocations: 5.812 kB / 1.131 GB, free: 176 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.6259, allocations: 10.36 kB / 1.131 GB, free: 176 kB / 0.9948 GB Notification: Performance of SimCode: time 8.21e-07/0.6259, allocations: 3.938 kB / 1.131 GB, free: 172 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.7416, allocations: 2.036 MB / 1.133 GB, free: 15.31 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/8.016, allocations: 1.125 kB / 1.133 GB, free: 15.31 MB / 1.01 GB " [Timeout remaining time 292] (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: 12.70483735948801]