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.0007151/0.0007151, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0007453/0.0007453, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.851/0.851, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.001505/0.001505, allocations: 233.6 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6449/0.6449, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.122e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3144/0.3144, allocations: 130 MB / 0.7732 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.3145, allocations: 50.12 kB / 0.7733 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.3145, allocations: 7.938 kB / 0.7733 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.3146, allocations: 0 / 0.7733 GB, free: 9.094 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.911e-05/0.3147, allocations: 7.984 kB / 0.7733 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3151, allocations: 111.5 kB / 0.7734 GB, free: 8.977 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.3152, allocations: 35.86 kB / 0.7734 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.3152, allocations: 0 / 0.7734 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.3152, allocations: 31.89 kB / 0.7735 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.254e-05/0.3153, allocations: 7.938 kB / 0.7735 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3153, allocations: 4 kB / 0.7735 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3155, allocations: 75.66 kB / 0.7735 GB, free: 8.824 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.3155, allocations: 12 kB / 0.7736 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.3156, allocations: 7.984 kB / 0.7736 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3157, allocations: 75.78 kB / 0.7736 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3157, allocations: 0 / 0.7736 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3157, allocations: 0 / 0.7736 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3157, allocations: 3.984 kB / 0.7736 GB, free: 8.727 MB / 0.6042 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.0003111/0.316, allocations: 255 kB / 0.7739 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3161, allocations: 12.75 kB / 0.7739 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.3161, allocations: 30.75 kB / 0.7739 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3162, allocations: 23.33 kB / 0.7739 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.3163, allocations: 101.8 kB / 0.774 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.3164, allocations: 59.95 kB / 0.7741 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.986e-06/0.3164, allocations: 7.938 kB / 0.7741 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.3165, allocations: 75.31 kB / 0.7742 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.3165, allocations: 0 / 0.7742 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3165, allocations: 0 / 0.7742 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.3165, allocations: 4.656 kB / 0.7742 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.3166, allocations: 19.98 kB / 0.7742 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.3168, allocations: 233.3 kB / 0.7744 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.609e-05/0.3169, allocations: 26.52 kB / 0.7745 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.3169, allocations: 4.859 kB / 0.7745 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.3169, allocations: 0 / 0.7745 GB, free: 7.754 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3169, allocations: 34.62 kB / 0.7745 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.3169, allocations: 0.6562 kB / 0.7745 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.317, allocations: 30.22 kB / 0.7745 GB, free: 7.676 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.317, allocations: 51.41 kB / 0.7746 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.3171, allocations: 109.9 kB / 0.7747 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3171, allocations: 29.7 kB / 0.7747 GB, free: 7.461 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3171, allocations: 92.09 kB / 0.7748 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.3171, allocations: 11.88 kB / 0.7748 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.3172, allocations: 29.48 kB / 0.7748 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.3172, allocations: 314.8 kB / 0.7751 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.3172, allocations: 4 kB / 0.7751 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.3173, allocations: 30.56 kB / 0.7752 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.3173, allocations: 26.58 kB / 0.7752 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3173, allocations: 4 kB / 0.7752 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.836e-05/0.3173, allocations: 53.62 kB / 0.7752 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3174, allocations: 7.938 kB / 0.7753 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3174, allocations: 0 / 0.7753 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3174, allocations: 4 kB / 0.7753 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.3174, allocations: 4 kB / 0.7753 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3174, allocations: 0 / 0.7753 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.3174, allocations: 7.938 kB / 0.7753 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-06/0.3174, allocations: 0 / 0.7753 GB, free: 6.844 MB / 0.6042 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.03e-05/0.3175, allocations: 122.5 kB / 0.7754 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.3175, allocations: 5.328 kB / 0.7754 GB, free: 6.711 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.3175, allocations: 11.16 kB / 0.7754 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.3175, allocations: 0 / 0.7754 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3175, allocations: 0 / 0.7754 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3175, allocations: 0 / 0.7754 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3177, allocations: 317.8 kB / 0.7757 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.3177, allocations: 0 / 0.7757 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.3177, allocations: 4 kB / 0.7757 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.3177, allocations: 0 / 0.7757 GB, free: 6.332 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.3177, allocations: 4.031 kB / 0.7757 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3177, allocations: 6.188 kB / 0.7757 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3177, allocations: 0 / 0.7757 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.682e-05/0.3177, allocations: 57.12 kB / 0.7758 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.3177, allocations: 4 kB / 0.7758 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.3177, allocations: 4 kB / 0.7758 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.3178, allocations: 7.922 kB / 0.7758 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.3178, allocations: 3.938 kB / 0.7758 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.3178, allocations: 4 kB / 0.7758 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.3178, allocations: 79.28 kB / 0.7759 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.3178, allocations: 4.031 kB / 0.7759 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001164/0.3179, allocations: 11.94 kB / 0.7759 GB, free: 6.133 MB / 0.6042 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.0002037/0.3181, allocations: 0.5929 MB / 0.7765 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6e-05/0.3182, allocations: 15.94 kB / 0.7765 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.3182, allocations: 0 / 0.7765 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/0.3182, allocations: 0 / 0.7765 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.3184, allocations: 14.55 kB / 0.7765 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.3186, allocations: 140.1 kB / 0.7766 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.3187, allocations: 59.44 kB / 0.7767 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.3187, allocations: 11.92 kB / 0.7767 GB, free: 5.223 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.3187, allocations: 12.5 kB / 0.7767 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.3187, allocations: 0 / 0.7767 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.3318, allocations: 2.055 MB / 0.7787 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/6.883, allocations: 7.094 kB / 0.7787 GB, free: 3.41 MB / 0.6042 GB " [Timeout remaining time 653] (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: 9.374290972016752] Failed to read output from testmodel.py, exit status != 0: 6.95880741160363 6.967871662 6.650347676 Calling exit ...