Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001708/0.001708, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.00189/0.00189, allocations: 187 kB / 17.34 MB, free: 5.75 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8028/0.8028, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 68.5 kB / 0.5863 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1932, allocations: 80.91 MB / 0.6653 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.639/0.8323, allocations: 147.8 MB / 0.8097 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.8325, allocations: 53.12 kB / 0.8097 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.8325, allocations: 3.938 kB / 0.8097 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.8326, allocations: 8.188 kB / 0.8097 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.8327, allocations: 8.766 kB / 0.8097 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.8333, allocations: 109.1 kB / 0.8099 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.8334, allocations: 35.83 kB / 0.8099 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.8335, allocations: 1.062 kB / 0.8099 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.8335, allocations: 15.91 kB / 0.8099 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.465e-05/0.8336, allocations: 19.64 kB / 0.8099 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.8336, allocations: 5 kB / 0.8099 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.8339, allocations: 77 kB / 0.81 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.834, allocations: 7.891 kB / 0.81 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.834, allocations: 14.94 kB / 0.81 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.8342, allocations: 77.8 kB / 0.8101 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.8343, allocations: 3.5 kB / 0.8101 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8343, allocations: 0 / 0.8101 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8343, allocations: 0 / 0.8101 GB, free: 11.46 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.000444/0.8347, allocations: 333 kB / 0.8104 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8348, allocations: 10.98 kB / 0.8104 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.8351, allocations: 19.06 kB / 0.8104 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.8353, allocations: 167 kB / 0.8106 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.8354, allocations: 32.17 kB / 0.8106 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.8354, allocations: 3.047 kB / 0.8106 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.8356, allocations: 46.52 kB / 0.8107 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.8356, allocations: 1.828 kB / 0.8107 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.8356, allocations: 3.219 kB / 0.8107 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.8357, allocations: 3.938 kB / 0.8107 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.559e-05/0.8357, allocations: 23.8 kB / 0.8107 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.8363, allocations: 264.7 kB / 0.811 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.8363, allocations: 18.52 kB / 0.811 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.8364, allocations: 7.641 kB / 0.811 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.8364, allocations: 0 / 0.811 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.8364, allocations: 38.5 kB / 0.811 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.8364, allocations: 0 / 0.811 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.000164/0.8366, allocations: 36.34 kB / 0.8111 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.8366, allocations: 54.22 kB / 0.8111 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.755e-05/0.8367, allocations: 107.1 kB / 0.8112 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.8368, allocations: 25.7 kB / 0.8112 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.8368, allocations: 95.72 kB / 0.8113 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.8368, allocations: 3.562 kB / 0.8113 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.8369, allocations: 20.34 kB / 0.8114 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.837, allocations: 315.9 kB / 0.8117 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.837, allocations: 2.094 kB / 0.8117 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.8371, allocations: 30 kB / 0.8117 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.8371, allocations: 35.61 kB / 0.8117 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8371, allocations: 2.688 kB / 0.8117 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.443e-05/0.8372, allocations: 54.59 kB / 0.8118 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8372, allocations: 10.56 kB / 0.8118 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8373, allocations: 0 / 0.8118 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.8373, allocations: 3.984 kB / 0.8118 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.8373, allocations: 7.703 kB / 0.8118 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.8374, allocations: 10.69 kB / 0.8118 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.037e-05/0.8374, allocations: 3.906 kB / 0.8118 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.8374, allocations: 6.656 kB / 0.8118 GB, free: 9.723 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 8.041e-05/0.8375, allocations: 111.9 kB / 0.8119 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.8375, allocations: 4.484 kB / 0.8119 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.8376, allocations: 3.125 kB / 0.8119 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8376, allocations: 0 / 0.8119 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8376, allocations: 3.938 kB / 0.8119 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8376, allocations: 0 / 0.8119 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.8379, allocations: 347.2 kB / 0.8123 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8379, allocations: 3.938 kB / 0.8123 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.8379, allocations: 3.938 kB / 0.8123 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.8379, allocations: 6.844 kB / 0.8123 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.8379, allocations: 0 / 0.8123 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8379, allocations: 0 / 0.8123 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8379, allocations: 2.578 kB / 0.8123 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.653e-05/0.838, allocations: 56.2 kB / 0.8123 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.8381, allocations: 87.23 kB / 0.8124 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.8381, allocations: 8.375 kB / 0.8124 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.8382, allocations: 4.797 kB / 0.8124 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.8382, allocations: 2.594 kB / 0.8124 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.8382, allocations: 0 / 0.8124 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.8383, allocations: 85.27 kB / 0.8125 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8383, allocations: 0 / 0.8125 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001937/0.8385, allocations: 8.938 kB / 0.8125 GB, free: 8.965 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.0001008/0.8386, allocations: 102.6 kB / 0.8126 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.252e-05/0.8387, allocations: 13.86 kB / 0.8126 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8387, allocations: 0 / 0.8126 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-06/0.8387, allocations: 2.625 kB / 0.8126 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.8389, allocations: 8.594 kB / 0.8126 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.8392, allocations: 134.4 kB / 0.8128 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.8395, allocations: 0.68 MB / 0.8134 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.8395, allocations: 10.22 kB / 0.8134 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.8395, allocations: 0 / 0.8134 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of Templates: time 0.001856/0.8414, allocations: 0.5713 MB / 0.814 GB, free: 8.008 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)