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.001296/0.001296, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001667/0.001667, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 1.026/1.026, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.002515/0.002515, allocations: 236.7 kB / 261.3 MB, free: 12.66 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.717/0.717, allocations: 138.4 MB / 456.3 MB, free: 1.426 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: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5564 GB, free: 256 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.585e-05, allocations: 5.547 kB / 0.5564 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3216/0.3216, allocations: 141 MB / 0.6941 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001164/0.3217, allocations: 52.11 kB / 0.6941 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.3217, allocations: 0 / 0.6941 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.3218, allocations: 4 kB / 0.6941 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.3219, allocations: 10.86 kB / 0.6942 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3223, allocations: 122.8 kB / 0.6943 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.61e-05/0.3224, allocations: 34.83 kB / 0.6943 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3224, allocations: 7.922 kB / 0.6943 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.3225, allocations: 23.09 kB / 0.6943 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.3226, allocations: 9.188 kB / 0.6943 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3226, allocations: 3.062 kB / 0.6943 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3228, allocations: 75.44 kB / 0.6944 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3228, allocations: 6.75 kB / 0.6944 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.3228, allocations: 9.172 kB / 0.6944 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3229, allocations: 65.3 kB / 0.6945 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3229, allocations: 11.92 kB / 0.6945 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3229, allocations: 2.812 kB / 0.6945 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.3229, allocations: 0 / 0.6945 GB, free: 14.2 MB / 0.5105 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.0002447/0.3232, allocations: 371.8 kB / 0.6949 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3232, allocations: 12.97 kB / 0.6949 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.3234, allocations: 29.66 kB / 0.6949 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.583e-05/0.3235, allocations: 107.7 kB / 0.695 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3235, allocations: 51.97 kB / 0.6951 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.3235, allocations: 7.562 kB / 0.6951 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.238e-05/0.3236, allocations: 81.3 kB / 0.6951 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3236, allocations: 0 / 0.6951 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.3236, allocations: 0 / 0.6951 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3236, allocations: 2.25 kB / 0.6951 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.3237, allocations: 21.94 kB / 0.6952 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.3239, allocations: 238 kB / 0.6954 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.598e-05/0.3239, allocations: 25.94 kB / 0.6954 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.809e-06/0.3239, allocations: 11.69 kB / 0.6954 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.3239, allocations: 4.031 kB / 0.6954 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.3239, allocations: 36.05 kB / 0.6955 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3239, allocations: 0 / 0.6955 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 8.854e-05/0.324, allocations: 34.98 kB / 0.6955 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.324, allocations: 55.41 kB / 0.6956 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.3241, allocations: 170.4 kB / 0.6957 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.219e-06/0.3241, allocations: 25.7 kB / 0.6957 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.3241, allocations: 137.8 kB / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.3241, allocations: 3.953 kB / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.3241, allocations: 28.89 kB / 0.6959 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.3242, allocations: 0.4884 MB / 0.6964 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-06/0.3242, allocations: 0 / 0.6964 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.3242, allocations: 28.38 kB / 0.6964 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.3242, allocations: 39.19 kB / 0.6964 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3242, allocations: 0 / 0.6964 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.428e-05/0.3243, allocations: 51.06 kB / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3243, allocations: 6.562 kB / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3243, allocations: 4 kB / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.3243, allocations: 2.938 kB / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.731e-05/0.3243, allocations: 5.062 kB / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.3243, allocations: 0 / 0.6965 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.3244, allocations: 11.45 kB / 0.6965 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3244, allocations: 3.938 kB / 0.6965 GB, free: 12.04 MB / 0.5105 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 4.046e-05/0.3244, allocations: 163.7 kB / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3244, allocations: 3.953 kB / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.3245, allocations: 5.562 kB / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3245, allocations: 0 / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3245, allocations: 4 kB / 0.6967 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3245, allocations: 3.188 kB / 0.6967 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.3246, allocations: 385.4 kB / 0.6971 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3246, allocations: 0 / 0.6971 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-06/0.3246, allocations: 2.781 kB / 0.6971 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3246, allocations: 0 / 0.6971 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-06/0.3246, allocations: 3.938 kB / 0.6971 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3246, allocations: 0 / 0.6971 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3246, allocations: 2.656 kB / 0.6971 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.614e-05/0.3247, allocations: 73.72 kB / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-06/0.3247, allocations: 2.719 kB / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.3247, allocations: 0 / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.3247, allocations: 2.938 kB / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.3247, allocations: 0 / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.3247, allocations: 0 / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.3247, allocations: 132.7 kB / 0.6973 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3247, allocations: 0 / 0.6973 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001742/0.3249, allocations: 5.312 kB / 0.6973 GB, free: 11.24 MB / 0.5105 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 7.038e-05/0.325, allocations: 96.19 kB / 0.6974 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.749e-05/0.3251, allocations: 27.77 kB / 0.6974 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3251, allocations: 0 / 0.6974 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/0.3251, allocations: 14.05 kB / 0.6974 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.3252, allocations: 14.86 kB / 0.6974 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.3255, allocations: 116.3 kB / 0.6975 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.705e-05/0.3255, allocations: 57.67 kB / 0.6976 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.236e-05/0.3256, allocations: 10.95 kB / 0.6976 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.3256, allocations: 84.98 kB / 0.6977 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.3256, allocations: 0 / 0.6977 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.002062/0.3277, allocations: 0.6189 MB / 0.6983 GB, free: 10.55 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.13969204062596]