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.0009347/0.0009347, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0009378/0.0009378, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8511/0.8511, allocations: 177.1 MB / 202.8 MB, free: 5.703 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.001391/0.001391, allocations: 233.3 kB / 259.4 MB, free: 13 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.6246/0.6246, allocations: 138.4 MB / 454.3 MB, free: 1.641 MB / 362.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.332e-06/1.332e-06, allocations: 0 / 0.6463 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.147e-05, allocations: 6.219 kB / 0.6463 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1005/0.1005, allocations: 130 MB / 0.7732 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.1006, allocations: 59.75 kB / 0.7733 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1006, allocations: 0 / 0.7733 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1007, allocations: 0 / 0.7733 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-05/0.1008, allocations: 15.84 kB / 0.7733 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.1012, allocations: 107.6 kB / 0.7734 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.1013, allocations: 35.84 kB / 0.7734 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1013, allocations: 4 kB / 0.7735 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.1014, allocations: 23.91 kB / 0.7735 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.1015, allocations: 11.98 kB / 0.7735 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1015, allocations: 0 / 0.7735 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1017, allocations: 75.72 kB / 0.7736 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.1017, allocations: 4 kB / 0.7736 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.1017, allocations: 8 kB / 0.7736 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1019, allocations: 75.77 kB / 0.7736 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1019, allocations: 0 / 0.7736 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1019, allocations: 4 kB / 0.7736 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1019, allocations: 0 / 0.7736 GB, free: 14.8 MB / 0.6198 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.000305/0.1022, allocations: 262.3 kB / 0.7739 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1022, allocations: 12.75 kB / 0.7739 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1022, allocations: 30.75 kB / 0.7739 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.1024, allocations: 24.88 kB / 0.774 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.1025, allocations: 105.7 kB / 0.7741 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.1025, allocations: 55.97 kB / 0.7741 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1025, allocations: 7.938 kB / 0.7741 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1027, allocations: 75.38 kB / 0.7742 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1027, allocations: 0 / 0.7742 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1027, allocations: 0 / 0.7742 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.1027, allocations: 4 kB / 0.7742 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.314e-05/0.1027, allocations: 15.98 kB / 0.7742 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.103, allocations: 227.9 kB / 0.7744 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.1031, allocations: 22.52 kB / 0.7745 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.1031, allocations: 8.859 kB / 0.7745 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.1031, allocations: 0 / 0.7745 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.1031, allocations: 42.55 kB / 0.7745 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.1031, allocations: 0 / 0.7745 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001251/0.1032, allocations: 37.64 kB / 0.7745 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.1033, allocations: 51.41 kB / 0.7746 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.75e-05/0.1033, allocations: 109.8 kB / 0.7747 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1034, allocations: 29.7 kB / 0.7747 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.1034, allocations: 88.03 kB / 0.7748 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.1034, allocations: 3.953 kB / 0.7748 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1034, allocations: 21.84 kB / 0.7748 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/0.1035, allocations: 318.8 kB / 0.7751 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.1035, allocations: 4 kB / 0.7751 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.1035, allocations: 26.83 kB / 0.7752 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.1036, allocations: 34.5 kB / 0.7752 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1036, allocations: 4 kB / 0.7752 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.655e-05/0.1036, allocations: 49.64 kB / 0.7752 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1036, allocations: 12.08 kB / 0.7753 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1037, allocations: 96 / 0.7753 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1037, allocations: 7.984 kB / 0.7753 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.1037, allocations: 4 kB / 0.7753 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1037, allocations: 3.984 kB / 0.7753 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1037, allocations: 7.938 kB / 0.7753 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.1037, allocations: 0 / 0.7753 GB, free: 12.89 MB / 0.6198 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.151e-05/0.1038, allocations: 114.5 kB / 0.7754 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.1038, allocations: 3.953 kB / 0.7754 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.665e-05/0.1038, allocations: 7.156 kB / 0.7754 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1038, allocations: 7.984 kB / 0.7754 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1038, allocations: 3.938 kB / 0.7754 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1038, allocations: 0 / 0.7754 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.104, allocations: 313.8 kB / 0.7757 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.104, allocations: 0 / 0.7757 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.104, allocations: 4 kB / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.104, allocations: 0 / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.104, allocations: 0 / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.104, allocations: 3.938 kB / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.104, allocations: 0 / 0.7757 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.619e-05/0.1041, allocations: 73.03 kB / 0.7758 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.1041, allocations: 0 / 0.7758 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1041, allocations: 4 kB / 0.7758 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.1042, allocations: 3.938 kB / 0.7758 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.1042, allocations: 3.938 kB / 0.7758 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-06/0.1042, allocations: 4 kB / 0.7758 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.85e-05/0.1042, allocations: 87.27 kB / 0.7759 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1042, allocations: 0 / 0.7759 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001207/0.1043, allocations: 8 kB / 0.7759 GB, free: 12.18 MB / 0.6198 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.0002318/0.1045, allocations: 0.5969 MB / 0.7765 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.1046, allocations: 11.94 kB / 0.7765 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1046, allocations: 0 / 0.7765 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.1046, allocations: 0 / 0.7765 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.1048, allocations: 16.12 kB / 0.7765 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1051, allocations: 143.3 kB / 0.7766 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.647e-05/0.1052, allocations: 55.36 kB / 0.7767 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.1052, allocations: 12.27 kB / 0.7767 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.1052, allocations: 16.5 kB / 0.7767 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.1052, allocations: 0 / 0.7767 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.1185, allocations: 2.045 MB / 0.7787 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.401/6.52, allocations: 3.938 kB / 0.7787 GB, free: 9.395 MB / 0.6198 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.124780664220452] Failed to read output from testmodel.py, exit status != 0: 6.5962745025753975 6.608738312 6.503920767 Calling exit ...