Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 116.7 kB / 17.08 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 197.8 kB / 18.02 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.56 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 76.18 MB / 0.6327 GB, free: 4.484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5409/0.6874, allocations: 147.8 MB / 0.7771 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.6876, allocations: 54.69 kB / 0.7771 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.217e-05/0.6876, allocations: 1.125 kB / 0.7771 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.6878, allocations: 3.938 kB / 0.7772 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.6878, allocations: 11.5 kB / 0.7772 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.6883, allocations: 112.6 kB / 0.7773 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.6884, allocations: 34.45 kB / 0.7773 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.6884, allocations: 3.562 kB / 0.7773 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.6885, allocations: 18.03 kB / 0.7773 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.6886, allocations: 11.42 kB / 0.7773 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.6886, allocations: 1.438 kB / 0.7773 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.6888, allocations: 89.48 kB / 0.7774 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.6889, allocations: 6.484 kB / 0.7774 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.09e-05/0.6889, allocations: 9.859 kB / 0.7774 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.6891, allocations: 73.34 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6891, allocations: 3.547 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6891, allocations: 4 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6891, allocations: 1.281 kB / 0.7775 GB, free: 14.38 MB / 0.5919 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.000385/0.6895, allocations: 331.9 kB / 0.7778 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6895, allocations: 8.656 kB / 0.7778 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.6898, allocations: 23.34 kB / 0.7779 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.6899, allocations: 167.5 kB / 0.778 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/0.69, allocations: 38.77 kB / 0.7781 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.69, allocations: 1.688 kB / 0.7781 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.6901, allocations: 50.12 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6902, allocations: 0.5625 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.6902, allocations: 4.516 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6902, allocations: 1.594 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.6903, allocations: 18.58 kB / 0.7781 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.6907, allocations: 259.1 kB / 0.7784 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.6907, allocations: 23.89 kB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.6907, allocations: 5.953 kB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.6907, allocations: 0.625 kB / 0.7784 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.6908, allocations: 32.55 kB / 0.7784 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6908, allocations: 0.5625 kB / 0.7784 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.6909, allocations: 37.48 kB / 0.7785 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6909, allocations: 56.59 kB / 0.7785 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.691, allocations: 113.9 kB / 0.7786 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6911, allocations: 28.81 kB / 0.7787 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.6911, allocations: 89.73 kB / 0.7788 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.6911, allocations: 1.125 kB / 0.7788 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.6912, allocations: 16.16 kB / 0.7788 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.6913, allocations: 319.6 kB / 0.7791 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.6913, allocations: 8.406 kB / 0.7791 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.981e-05/0.6914, allocations: 21.17 kB / 0.7791 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.6914, allocations: 36.02 kB / 0.7791 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6914, allocations: 0.5312 kB / 0.7791 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.37e-05/0.6915, allocations: 62.98 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6915, allocations: 5.375 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6915, allocations: 1 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.6916, allocations: 2.938 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.6916, allocations: 6.062 kB / 0.7792 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.6917, allocations: 5.094 kB / 0.7792 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.6917, allocations: 2.281 kB / 0.7792 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.6917, allocations: 2.188 kB / 0.7792 GB, free: 12.64 MB / 0.5919 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 7.987e-05/0.6918, allocations: 110.7 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.6918, allocations: 8.969 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.713e-05/0.6918, allocations: 4.156 kB / 0.7793 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6919, allocations: 0.5625 kB / 0.7793 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6919, allocations: 8.438 kB / 0.7793 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6919, allocations: 4.469 kB / 0.7794 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.6921, allocations: 344.8 kB / 0.7797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6922, allocations: 0.5 kB / 0.7797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.457e-05/0.6922, allocations: 2.453 kB / 0.7797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.6922, allocations: 8.469 kB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.6922, allocations: 0.5625 kB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6922, allocations: 0.5 kB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6922, allocations: 2.219 kB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.054e-05/0.6923, allocations: 66.45 kB / 0.7798 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.6923, allocations: 77.61 kB / 0.7798 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6923, allocations: 4.562 kB / 0.7798 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.6924, allocations: 8.562 kB / 0.7798 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.6925, allocations: 1.188 kB / 0.7798 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.6925, allocations: 0.5312 kB / 0.7798 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.6925, allocations: 86.3 kB / 0.7799 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6925, allocations: 0 / 0.7799 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001936/0.6927, allocations: 6.469 kB / 0.7799 GB, free: 11.88 MB / 0.5919 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.000107/0.6928, allocations: 102.2 kB / 0.78 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.287e-05/0.6929, allocations: 15.5 kB / 0.78 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6929, allocations: 0.5312 kB / 0.78 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/0.693, allocations: 6.125 kB / 0.7801 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.6932, allocations: 8.062 kB / 0.7801 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.6935, allocations: 136.6 kB / 0.7802 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6937, allocations: 0.675 MB / 0.7809 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.6937, allocations: 9.5 kB / 0.7809 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.6937, allocations: 1.391 kB / 0.7809 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.00208/0.6958, allocations: 0.5747 MB / 0.7814 GB, free: 10.93 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)