Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001261/0.001261, allocations: 187 kB / 17.34 MB, free: 5.715 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.427/1.427, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8655/0.8655, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 58.56 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1783, allocations: 80.94 MB / 0.6653 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002442/0.1807, allocations: 1.265 MB / 0.6666 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6694/0.8501, allocations: 147.4 MB / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.8502, allocations: 3 kB / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.8502, allocations: 0 / 0.8105 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.8503, allocations: 6.422 kB / 0.8106 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.8507, allocations: 91.69 kB / 0.8106 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.343e-05/0.8508, allocations: 33.95 kB / 0.8107 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.8508, allocations: 5.172 kB / 0.8107 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.729e-05/0.8509, allocations: 13.98 kB / 0.8107 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.8509, allocations: 20.03 kB / 0.8107 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.851, allocations: 0 / 0.8107 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.8512, allocations: 82.47 kB / 0.8108 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.8512, allocations: 6.5 kB / 0.8108 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.8513, allocations: 17.67 kB / 0.8108 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.8515, allocations: 66.92 kB / 0.8109 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8515, allocations: 1.781 kB / 0.8109 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8515, allocations: 0 / 0.8109 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8515, allocations: 0 / 0.8109 GB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00053/0.852, allocations: 366.6 kB / 0.8112 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.852, allocations: 11.89 kB / 0.8112 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.8522, allocations: 11.33 kB / 0.8112 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.8524, allocations: 170.5 kB / 0.8114 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.8524, allocations: 6.531 kB / 0.8114 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.8525, allocations: 5.656 kB / 0.8114 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.8526, allocations: 49.34 kB / 0.8115 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8526, allocations: 0 / 0.8115 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8526, allocations: 3.438 kB / 0.8115 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.8526, allocations: 6.688 kB / 0.8115 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.8527, allocations: 12.27 kB / 0.8115 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002315/0.8529, allocations: 171.6 kB / 0.8117 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.853, allocations: 50.97 kB / 0.8117 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.853, allocations: 12.67 kB / 0.8117 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.8531, allocations: 1.094 kB / 0.8117 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.8531, allocations: 39.19 kB / 0.8118 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8531, allocations: 3.938 kB / 0.8118 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0008486/0.8539, allocations: 367.8 kB / 0.8121 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.854, allocations: 57.16 kB / 0.8122 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.8541, allocations: 95.52 kB / 0.8123 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.8541, allocations: 28.83 kB / 0.8123 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.8542, allocations: 89.39 kB / 0.8124 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.8542, allocations: 43.36 kB / 0.8124 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.8543, allocations: 31.8 kB / 0.8124 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8544, allocations: 318.3 kB / 0.8127 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.8545, allocations: 19.75 kB / 0.8128 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.237e-05/0.8545, allocations: 37.75 kB / 0.8128 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/0.8546, allocations: 55.41 kB / 0.8129 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.8546, allocations: 4 kB / 0.8129 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001429/0.8548, allocations: 100.6 kB / 0.813 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8548, allocations: 4.156 kB / 0.813 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8548, allocations: 0 / 0.813 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.8548, allocations: 3 kB / 0.813 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.8549, allocations: 20.2 kB / 0.813 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.8549, allocations: 7.828 kB / 0.813 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.8549, allocations: 3.5 kB / 0.813 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.855, allocations: 3.312 kB / 0.813 GB, free: 9.613 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 0.0001288/0.8551, allocations: 121.8 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.8551, allocations: 3.281 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.8551, allocations: 10.84 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8551, allocations: 1.594 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8551, allocations: 1.812 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.8551, allocations: 4.125 kB / 0.8131 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.8553, allocations: 175.6 kB / 0.8133 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8553, allocations: 0 / 0.8133 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.8554, allocations: 20.38 kB / 0.8133 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8554, allocations: 3.938 kB / 0.8133 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8554, allocations: 5.594 kB / 0.8133 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8554, allocations: 0 / 0.8133 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8554, allocations: 4.172 kB / 0.8133 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.8557, allocations: 137.1 kB / 0.8135 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/0.8558, allocations: 87.83 kB / 0.8135 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.8558, allocations: 5.531 kB / 0.8135 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.8559, allocations: 2.188 kB / 0.8135 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.8559, allocations: 12.42 kB / 0.8136 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.8559, allocations: 7.422 kB / 0.8136 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.8559, allocations: 77.81 kB / 0.8136 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8559, allocations: 0 / 0.8136 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003661/0.8563, allocations: 18.91 kB / 0.8137 GB, free: 9.039 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001306/0.8564, allocations: 108.6 kB / 0.8138 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.8566, allocations: 54.17 kB / 0.8138 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8566, allocations: 96 / 0.8138 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.8566, allocations: 33.05 kB / 0.8138 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.857, allocations: 15.23 kB / 0.8139 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.8577, allocations: 343.7 kB / 0.8142 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.858, allocations: 0.6845 MB / 0.8149 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.8581, allocations: 12.94 kB / 0.8149 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of SimCode: time 3.41e-07/0.8581, allocations: 0 / 0.8149 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of Templates: time 0.002596/0.8607, allocations: 0.8381 MB / 0.8157 GB, free: 7.879 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)