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.009341/0.009341, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001894/0.001894, allocations: 198.8 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9466/0.9466, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.448, allocations: 80.92 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1688/0.6168, allocations: 147.8 MB / 0.809 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.617, allocations: 67.77 kB / 0.8091 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.617, allocations: 0 / 0.8091 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.6172, allocations: 0 / 0.8091 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.6173, allocations: 15.92 kB / 0.8091 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.6179, allocations: 107.1 kB / 0.8092 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.618, allocations: 35.91 kB / 0.8092 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.6181, allocations: 0 / 0.8092 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.6181, allocations: 19.98 kB / 0.8093 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.6182, allocations: 15.86 kB / 0.8093 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.6182, allocations: 0 / 0.8093 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.6185, allocations: 91.72 kB / 0.8094 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.6186, allocations: 7.984 kB / 0.8094 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.6186, allocations: 11.92 kB / 0.8094 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.6188, allocations: 63.92 kB / 0.8094 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6188, allocations: 4 kB / 0.8094 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6188, allocations: 0 / 0.8094 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6189, allocations: 0 / 0.8094 GB, free: 12.84 MB / 0.6387 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.000437/0.6193, allocations: 343.3 kB / 0.8098 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6193, allocations: 8.031 kB / 0.8098 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/0.6196, allocations: 24.86 kB / 0.8098 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.6197, allocations: 164.4 kB / 0.81 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.6198, allocations: 33.62 kB / 0.81 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6198, allocations: 3.938 kB / 0.81 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.62, allocations: 53.62 kB / 0.81 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.62, allocations: 0 / 0.81 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.62, allocations: 0 / 0.81 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.62, allocations: 7.984 kB / 0.8101 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.6201, allocations: 19.98 kB / 0.8101 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.6205, allocations: 258.6 kB / 0.8103 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.495e-05/0.6206, allocations: 22.61 kB / 0.8103 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.6206, allocations: 4.859 kB / 0.8103 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.6206, allocations: 3.938 kB / 0.8103 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6207, allocations: 38.62 kB / 0.8104 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6207, allocations: 0 / 0.8104 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.6208, allocations: 29.7 kB / 0.8104 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.6209, allocations: 55.47 kB / 0.8105 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.621, allocations: 109.8 kB / 0.8106 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.621, allocations: 25.7 kB / 0.8106 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.6211, allocations: 95.89 kB / 0.8107 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/0.6211, allocations: 4 kB / 0.8107 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.6211, allocations: 17.7 kB / 0.8107 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6212, allocations: 314.8 kB / 0.811 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.6213, allocations: 4 kB / 0.811 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.117e-05/0.6213, allocations: 30.5 kB / 0.811 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.63e-05/0.6214, allocations: 26.58 kB / 0.8111 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6214, allocations: 0 / 0.8111 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.472e-05/0.6214, allocations: 53.62 kB / 0.8111 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6215, allocations: 8 kB / 0.8111 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6215, allocations: 4.094 kB / 0.8111 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6215, allocations: 0 / 0.8111 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.6216, allocations: 11.94 kB / 0.8111 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6216, allocations: 3.938 kB / 0.8111 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.16e-05/0.6216, allocations: 3.906 kB / 0.8111 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.6217, allocations: 11.94 kB / 0.8112 GB, free: 10.84 MB / 0.6387 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.853e-05/0.6218, allocations: 107.4 kB / 0.8113 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.6218, allocations: 7.984 kB / 0.8113 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.6218, allocations: 3.125 kB / 0.8113 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6218, allocations: 4 kB / 0.8113 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6219, allocations: 3.938 kB / 0.8113 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6219, allocations: 0 / 0.8113 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.6221, allocations: 342.7 kB / 0.8116 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6221, allocations: 0 / 0.8116 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.6222, allocations: 4.25 kB / 0.8116 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.6222, allocations: 7.922 kB / 0.8116 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.6222, allocations: 11.94 kB / 0.8116 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6222, allocations: 4.031 kB / 0.8116 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6222, allocations: 0 / 0.8116 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.677e-05/0.6223, allocations: 53.23 kB / 0.8117 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.6223, allocations: 85.03 kB / 0.8118 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6223, allocations: 0 / 0.8118 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.6224, allocations: 7.984 kB / 0.8118 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.6225, allocations: 4 kB / 0.8118 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.6225, allocations: 4.031 kB / 0.8118 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.6225, allocations: 87.27 kB / 0.8119 GB, free: 10 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.803e-06/0.6225, allocations: 0 / 0.8119 GB, free: 10 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000197/0.6227, allocations: 7.938 kB / 0.8119 GB, free: 9.996 MB / 0.6387 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.000112/0.6228, allocations: 96.58 kB / 0.812 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.481e-05/0.6229, allocations: 16 kB / 0.812 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6229, allocations: 0 / 0.812 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-06/0.623, allocations: 4.188 kB / 0.812 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.6232, allocations: 12.3 kB / 0.812 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.6235, allocations: 110.5 kB / 0.8121 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.6238, allocations: 0.6768 MB / 0.8128 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.078e-05/0.6238, allocations: 8.047 kB / 0.8128 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.6239, allocations: 15.44 kB / 0.8128 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.6239, allocations: 0 / 0.8128 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of Templates: time 0.002743/0.6266, allocations: 0.4966 MB / 0.8133 GB, free: 8.516 MB / 0.6387 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)