Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007815/0.0007815, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007653/0.0007653, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9409/0.9409, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5796/0.5796, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5542 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.447e-05, allocations: 12.75 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4281/0.4282, allocations: 130.4 MB / 0.6815 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.4283, allocations: 53.98 kB / 0.6815 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.4283, allocations: 0 / 0.6815 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.4284, allocations: 4.312 kB / 0.6815 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.915e-05/0.4285, allocations: 20.36 kB / 0.6815 GB, free: 41.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.4291, allocations: 212.4 kB / 0.6817 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.675e-05/0.4291, allocations: 37.31 kB / 0.6818 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.4292, allocations: 2.031 kB / 0.6818 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.4292, allocations: 19.73 kB / 0.6818 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.4293, allocations: 14.47 kB / 0.6818 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4293, allocations: 2.844 kB / 0.6818 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.4295, allocations: 160 kB / 0.682 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.4296, allocations: 12.8 kB / 0.682 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.4296, allocations: 13.97 kB / 0.682 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.4298, allocations: 110.6 kB / 0.6821 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4298, allocations: 0.625 kB / 0.6821 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4298, allocations: 1.094 kB / 0.6821 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4298, allocations: 0.625 kB / 0.6821 GB, free: 41.32 MB / 0.6355 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.0002751/0.43, allocations: 265.9 kB / 0.6824 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4301, allocations: 9.562 kB / 0.6824 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.4301, allocations: 34 kB / 0.6824 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.4303, allocations: 32.28 kB / 0.6824 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.073e-05/0.4304, allocations: 111.3 kB / 0.6825 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.4304, allocations: 55.81 kB / 0.6826 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.4304, allocations: 2.875 kB / 0.6826 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.4306, allocations: 77.2 kB / 0.6827 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.4306, allocations: 2.562 kB / 0.6827 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4306, allocations: 0 / 0.6827 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.4306, allocations: 6.406 kB / 0.6827 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.809e-05/0.4306, allocations: 21.72 kB / 0.6827 GB, free: 40.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.4309, allocations: 223.5 kB / 0.6829 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.4309, allocations: 25.7 kB / 0.6829 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.4309, allocations: 14.98 kB / 0.6829 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-05/0.431, allocations: 16.19 kB / 0.683 GB, free: 40.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.431, allocations: 30.56 kB / 0.683 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.431, allocations: 0 / 0.683 GB, free: 40.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.4312, allocations: 53.61 kB / 0.683 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.74e-05/0.4312, allocations: 51.41 kB / 0.6831 GB, free: 40.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.351e-05/0.4312, allocations: 110 kB / 0.6832 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.4312, allocations: 25.7 kB / 0.6832 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.4313, allocations: 88.03 kB / 0.6833 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.4313, allocations: 8.062 kB / 0.6833 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.4313, allocations: 17.98 kB / 0.6833 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.763e-05/0.4313, allocations: 325 kB / 0.6836 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.4313, allocations: 2.906 kB / 0.6836 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.4314, allocations: 29.44 kB / 0.6837 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.4314, allocations: 28.55 kB / 0.6837 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4314, allocations: 0 / 0.6837 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.892e-05/0.4314, allocations: 57.61 kB / 0.6837 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4314, allocations: 10 kB / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4314, allocations: 0 / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4315, allocations: 3.062 kB / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.4315, allocations: 11 kB / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4315, allocations: 0 / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.4315, allocations: 0 / 0.6838 GB, free: 39.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.4315, allocations: 3.188 kB / 0.6838 GB, free: 39.74 MB / 0.6355 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.633e-05/0.4316, allocations: 116.5 kB / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.4316, allocations: 1.312 kB / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.4316, allocations: 6.469 kB / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4316, allocations: 0.9062 kB / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4316, allocations: 0 / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4316, allocations: 4.406 kB / 0.6839 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.4317, allocations: 342.7 kB / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4317, allocations: 6.844 kB / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.4317, allocations: 3.219 kB / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.4317, allocations: 5.297 kB / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-06/0.4317, allocations: 0 / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4317, allocations: 4.062 kB / 0.6842 GB, free: 39.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4317, allocations: 3.938 kB / 0.6842 GB, free: 39.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.4e-05/0.4318, allocations: 67.03 kB / 0.6843 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-06/0.4318, allocations: 10.61 kB / 0.6843 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.4318, allocations: 0.9375 kB / 0.6843 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.4318, allocations: 4.312 kB / 0.6843 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4318, allocations: 7.906 kB / 0.6843 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.4318, allocations: 3.219 kB / 0.6843 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.342e-05/0.4319, allocations: 85.77 kB / 0.6844 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4319, allocations: 0.9688 kB / 0.6844 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001198/0.432, allocations: 6.531 kB / 0.6844 GB, free: 39.11 MB / 0.6355 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.0001415/0.4321, allocations: 0.6033 MB / 0.685 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.711e-05/0.4322, allocations: 18.95 kB / 0.685 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.4322, allocations: 0.8125 kB / 0.685 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.4322, allocations: 5.469 kB / 0.685 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.4324, allocations: 12.53 kB / 0.6851 GB, free: 38.51 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.4326, allocations: 146.1 kB / 0.6852 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.526e-05/0.4326, allocations: 61.86 kB / 0.6853 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.4327, allocations: 4.906 kB / 0.6853 GB, free: 38.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.4327, allocations: 11.59 kB / 0.6853 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of SimCode: time 3.6e-07/0.4327, allocations: 0.9688 kB / 0.6853 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.4463, allocations: 2.126 MB / 0.6873 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.691, allocations: 15.64 kB / 0.6874 GB, free: 37.49 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.423821466974914] Failed to read output from testmodel.py, exit status != 0: 7.776162037625909 7.791485483 7.358719194 Calling exit ...