Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001271/0.001271, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001474/0.001474, allocations: 213.6 kB / 22.24 MB, free: 4.855 MB / 14.72 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002564/0.002564, allocations: 294.3 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.189/1.189, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002849/0.002849, allocations: 103 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1751, allocations: 95.39 MB / 0.8326 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1641/0.3391, allocations: 129.9 MB / 0.9595 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.3393, allocations: 59.81 kB / 0.9596 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.3393, allocations: 0 / 0.9596 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 9.527e-05/0.3394, allocations: 0 / 0.9596 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.3395, allocations: 15.91 kB / 0.9596 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3399, allocations: 107.6 kB / 0.9597 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.936e-05/0.34, allocations: 35.89 kB / 0.9598 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.34, allocations: 8 kB / 0.9598 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.3401, allocations: 8 kB / 0.9598 GB, free: 5.66 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.3401, allocations: 23.84 kB / 0.9598 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.3401, allocations: 0 / 0.9598 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.3404, allocations: 71.8 kB / 0.9599 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3404, allocations: 15.98 kB / 0.9599 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.3404, allocations: 11.92 kB / 0.9599 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3406, allocations: 64.08 kB / 0.9599 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3406, allocations: 0 / 0.9599 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3406, allocations: 0 / 0.9599 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.3406, allocations: 8 kB / 0.96 GB, free: 5.469 MB / 0.7012 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.0003734/0.341, allocations: 258.3 kB / 0.9602 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.341, allocations: 8.75 kB / 0.9602 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.341, allocations: 38.75 kB / 0.9602 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.3412, allocations: 20.86 kB / 0.9603 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3413, allocations: 118.2 kB / 0.9604 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/0.3414, allocations: 55.41 kB / 0.9604 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3414, allocations: 0 / 0.9604 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.3416, allocations: 79.33 kB / 0.9605 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3416, allocations: 0 / 0.9605 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3416, allocations: 0 / 0.9605 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3416, allocations: 3.938 kB / 0.9605 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.3416, allocations: 19.98 kB / 0.9605 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.342, allocations: 232 kB / 0.9608 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.342, allocations: 18.58 kB / 0.9608 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.3421, allocations: 8.797 kB / 0.9608 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.3421, allocations: 0 / 0.9608 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3421, allocations: 34.56 kB / 0.9608 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3421, allocations: 0 / 0.9608 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.3422, allocations: 37.77 kB / 0.9608 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3423, allocations: 55.34 kB / 0.9609 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.3423, allocations: 109.8 kB / 0.961 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3424, allocations: 25.7 kB / 0.961 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.3424, allocations: 92.03 kB / 0.9611 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.3424, allocations: 7.938 kB / 0.9611 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3425, allocations: 17.72 kB / 0.9611 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3426, allocations: 310.8 kB / 0.9614 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.3426, allocations: 12.06 kB / 0.9614 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.3426, allocations: 26.56 kB / 0.9615 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.3427, allocations: 30.58 kB / 0.9615 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3427, allocations: 0 / 0.9615 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.103e-05/0.3428, allocations: 53.62 kB / 0.9616 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.3428, allocations: 4 kB / 0.9616 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3428, allocations: 96 / 0.9616 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.3428, allocations: 12.08 kB / 0.9616 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.3429, allocations: 11.88 kB / 0.9616 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3429, allocations: 0 / 0.9616 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3429, allocations: 4 kB / 0.9616 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-06/0.3429, allocations: 3.938 kB / 0.9616 GB, free: 3.566 MB / 0.7012 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.665e-05/0.343, allocations: 118.5 kB / 0.9617 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.343, allocations: 0 / 0.9617 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.343, allocations: 3.156 kB / 0.9617 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.343, allocations: 7.938 kB / 0.9617 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.343, allocations: 0 / 0.9617 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.343, allocations: 4 kB / 0.9617 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3433, allocations: 317.8 kB / 0.962 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3433, allocations: 256 / 0.962 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.3433, allocations: 11.94 kB / 0.962 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3433, allocations: 0 / 0.962 GB, free: 3.051 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3433, allocations: 3.984 kB / 0.962 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3433, allocations: 0 / 0.962 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3433, allocations: 0 / 0.962 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.737e-05/0.3434, allocations: 57.14 kB / 0.9621 GB, free: 2.973 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.3434, allocations: 7.875 kB / 0.9621 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3434, allocations: 4.062 kB / 0.9621 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.678e-05/0.3435, allocations: 7.984 kB / 0.9621 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.3435, allocations: 0 / 0.9621 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.3435, allocations: 0 / 0.9621 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.3436, allocations: 87.28 kB / 0.9622 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 3.938 kB / 0.9622 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001806/0.3437, allocations: 4 kB / 0.9622 GB, free: 2.859 MB / 0.7012 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.0003539/0.3441, allocations: 0.5994 MB / 0.9628 GB, free: 2.234 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.3442, allocations: 23.95 kB / 0.9628 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3442, allocations: 0 / 0.9628 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-06/0.3442, allocations: 0 / 0.9628 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.3444, allocations: 4 kB / 0.9628 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3447, allocations: 136.5 kB / 0.9629 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.3448, allocations: 59.34 kB / 0.963 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.395e-05/0.3448, allocations: 12.25 kB / 0.963 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.3449, allocations: 11.44 kB / 0.963 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.3449, allocations: 0 / 0.963 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.3723, allocations: 1.919 MB / 0.9649 GB, free: 192 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.03, allocations: 12.52 kB / 0.9649 GB, free: 180 kB / 0.7012 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.05898910202086] Failed to read output from testmodel.py, exit status != 0: 11.127855093684047 11.143527118 10.799967041 Calling exit ...