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.00102/0.00102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002402, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009785/0.0009785, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009666/0.001945, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9266/0.9266, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1277/1.054, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 232.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001271/0.003066, allocations: 478.7 kB / 244.7 MB, free: 14.17 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.72/0.72, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07251/0.7925, allocations: 42.4 MB / 426.5 MB, free: 5.945 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.313e-06/1.313e-06, allocations: 0 / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.557e-05, allocations: 2.312 kB / 427.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3284/0.3284, allocations: 143.6 MB / 0.558 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001129/0.3285, allocations: 46.34 kB / 0.558 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.3286, allocations: 3.938 kB / 0.558 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 6.798e-05/0.3286, allocations: 4 kB / 0.558 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.3287, allocations: 15.92 kB / 0.558 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.329, allocations: 117.9 kB / 0.5581 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.3291, allocations: 39.84 kB / 0.5582 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.3291, allocations: 0 / 0.5582 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.3292, allocations: 23.97 kB / 0.5582 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.3292, allocations: 19.86 kB / 0.5582 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3293, allocations: 4 kB / 0.5582 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3295, allocations: 71.73 kB / 0.5583 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.3295, allocations: 8 kB / 0.5583 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.3295, allocations: 8 kB / 0.5583 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3296, allocations: 56.16 kB / 0.5584 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/0.3296, allocations: 0 / 0.5584 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3296, allocations: 3.938 kB / 0.5584 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.3297, allocations: 0 / 0.5584 GB, free: 0.6367 MB / 0.5261 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.0003276/0.33, allocations: 252.2 kB / 0.5586 GB, free: 380 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.33, allocations: 16.69 kB / 0.5586 GB, free: 364 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.3302, allocations: 106 kB / 0.5587 GB, free: 240 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.3303, allocations: 105.7 kB / 0.5588 GB, free: 108 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.3304, allocations: 56.95 kB / 0.5589 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.3304, allocations: 384 / 0.5589 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3305, allocations: 90.84 kB / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3305, allocations: 0 / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3305, allocations: 0 / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3305, allocations: 4.938 kB / 0.559 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.3306, allocations: 8 kB / 0.559 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.3308, allocations: 168.1 kB / 0.5591 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.763e-05/0.3308, allocations: 22.55 kB / 0.5592 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-06/0.3309, allocations: 4.859 kB / 0.5592 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.3309, allocations: 4.062 kB / 0.5592 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3309, allocations: 30.56 kB / 0.5592 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.3309, allocations: 0 / 0.5592 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 9.842e-05/0.331, allocations: 34.48 kB / 0.5592 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.331, allocations: 55.53 kB / 0.5593 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.3311, allocations: 110.7 kB / 0.5594 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3311, allocations: 29.7 kB / 0.5594 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.3311, allocations: 92.05 kB / 0.5595 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.3311, allocations: 0 / 0.5595 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.3312, allocations: 17.7 kB / 0.5595 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.3312, allocations: 314.8 kB / 0.5598 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.3312, allocations: 4 kB / 0.5598 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.3313, allocations: 18.58 kB / 0.5598 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.3313, allocations: 41.33 kB / 0.5599 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3313, allocations: 3.938 kB / 0.5599 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.662e-05/0.3313, allocations: 45.62 kB / 0.5599 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3314, allocations: 4 kB / 0.5599 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3314, allocations: 0 / 0.5599 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3314, allocations: 7.938 kB / 0.5599 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.3314, allocations: 4 kB / 0.5599 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.3314, allocations: 4 kB / 0.5599 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.3314, allocations: 7.891 kB / 0.56 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-06/0.3314, allocations: 4.094 kB / 0.56 GB, free: 14.8 MB / 0.5417 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.221e-05/0.3315, allocations: 120.5 kB / 0.5601 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.3315, allocations: 8.547 kB / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.3315, allocations: 3.156 kB / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3315, allocations: 4 kB / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3315, allocations: 1.375 kB / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3315, allocations: 0 / 0.5601 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3317, allocations: 261 kB / 0.5603 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3317, allocations: 0 / 0.5603 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.3317, allocations: 0 / 0.5603 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.3317, allocations: 8.031 kB / 0.5603 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.3317, allocations: 0 / 0.5603 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.3317, allocations: 0 / 0.5603 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.3317, allocations: 0 / 0.5603 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3317, allocations: 3.938 kB / 0.5603 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.15e-05/0.3317, allocations: 61.06 kB / 0.5604 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3318, allocations: 4.625 kB / 0.5604 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.3318, allocations: 4 kB / 0.5604 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-06/0.3318, allocations: 0 / 0.5604 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.3318, allocations: 0.6875 kB / 0.5604 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.28e-05/0.3318, allocations: 16.88 kB / 0.5604 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.3318, allocations: 0 / 0.5604 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of remove unused functions: time 9.658e-05/0.3319, allocations: 8 kB / 0.5604 GB, free: 14.25 MB / 0.5417 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 8.247e-05/0.332, allocations: 76.42 kB / 0.5605 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.793e-05/0.3321, allocations: 16.8 kB / 0.5605 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.3321, allocations: 0 / 0.5605 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.3321, allocations: 12.84 kB / 0.5605 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.3322, allocations: 26.56 kB / 0.5606 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.3328, allocations: 128.6 kB / 0.5607 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.731e-05/0.3329, allocations: 55.36 kB / 0.5607 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.3329, allocations: 1.031 kB / 0.5607 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.333, allocations: 67.34 kB / 0.5608 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/0.333, allocations: 0 / 0.5608 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of Templates: time 0.002343/0.3353, allocations: 0.6386 MB / 0.5614 GB, free: 13.25 MB / 0.5417 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: 3.590173566713929]