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.00117/0.00117, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001433/0.001433, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.055/1.055, allocations: 135.3 MB / 426.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005991, allocations: 11.94 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2101, allocations: 82.31 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001548/0.2117, allocations: 0.9744 MB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5959/0.8076, allocations: 133.5 MB / 0.7187 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.8077, allocations: 0 / 0.7187 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.8077, allocations: 1.359 kB / 0.7187 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.8078, allocations: 8.547 kB / 0.7187 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.8082, allocations: 80.11 kB / 0.7187 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.942e-05/0.8083, allocations: 30.17 kB / 0.7188 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.314e-05/0.8083, allocations: 1.719 kB / 0.7188 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.8084, allocations: 19.17 kB / 0.7188 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.8085, allocations: 13.27 kB / 0.7188 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.8085, allocations: 2.25 kB / 0.7188 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.8088, allocations: 76.38 kB / 0.7189 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.8088, allocations: 7.391 kB / 0.7189 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.8089, allocations: 30.66 kB / 0.7189 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.8091, allocations: 49.91 kB / 0.719 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.8091, allocations: 0.8438 kB / 0.719 GB, free: 11.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.727e-06/0.8091, allocations: 3.938 kB / 0.719 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.8091, allocations: 1.125 kB / 0.719 GB, free: 11.79 MB / 0.545 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.0006034/0.8097, allocations: 338.6 kB / 0.7193 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.8098, allocations: 9.719 kB / 0.7193 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.81, allocations: 16.19 kB / 0.7193 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.8102, allocations: 166.3 kB / 0.7195 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.8103, allocations: 3 kB / 0.7195 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.8103, allocations: 7.547 kB / 0.7195 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.8105, allocations: 47.97 kB / 0.7195 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.8105, allocations: 1.125 kB / 0.7195 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.8105, allocations: 5.562 kB / 0.7195 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.8106, allocations: 4.734 kB / 0.7195 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.8106, allocations: 13.95 kB / 0.7196 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.8109, allocations: 175.3 kB / 0.7197 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8111, allocations: 55.78 kB / 0.7198 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.8111, allocations: 17.55 kB / 0.7198 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.8111, allocations: 1.312 kB / 0.7198 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.8112, allocations: 32.67 kB / 0.7198 GB, free: 10.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8112, allocations: 0 / 0.7198 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008712/0.8121, allocations: 371.9 kB / 0.7202 GB, free: 10.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.8121, allocations: 56.69 kB / 0.7202 GB, free: 10.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.8122, allocations: 100.6 kB / 0.7203 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8122, allocations: 27.02 kB / 0.7204 GB, free: 10.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.8123, allocations: 80.14 kB / 0.7204 GB, free: 10.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/0.8123, allocations: 44.61 kB / 0.7205 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.8123, allocations: 4.125 kB / 0.7205 GB, free: 10.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.8125, allocations: 318 kB / 0.7208 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.8125, allocations: 17.2 kB / 0.7208 GB, free: 9.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.8126, allocations: 35.14 kB / 0.7208 GB, free: 9.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.8126, allocations: 23.05 kB / 0.7208 GB, free: 9.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.8126, allocations: 0 / 0.7208 GB, free: 9.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001508/0.8128, allocations: 101 kB / 0.7209 GB, free: 9.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.8128, allocations: 5.469 kB / 0.721 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8128, allocations: 5.438 kB / 0.721 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.8128, allocations: 1.406 kB / 0.721 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.813, allocations: 20.34 kB / 0.721 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.813, allocations: 1.469 kB / 0.721 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.813, allocations: 13.02 kB / 0.721 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.813, allocations: 3.406 kB / 0.721 GB, free: 9.828 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.8131, allocations: 121.2 kB / 0.7211 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.8131, allocations: 6.562 kB / 0.7211 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.8132, allocations: 18.03 kB / 0.7211 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.8132, allocations: 5.188 kB / 0.7211 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8132, allocations: 0 / 0.7211 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8132, allocations: 2.156 kB / 0.7211 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.8134, allocations: 170.5 kB / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8134, allocations: 0 / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.8135, allocations: 21.31 kB / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8135, allocations: 1.562 kB / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.8135, allocations: 0 / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8135, allocations: 2.062 kB / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8135, allocations: 0 / 0.7213 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.8138, allocations: 140 kB / 0.7215 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.8139, allocations: 86.81 kB / 0.7215 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.8139, allocations: 5.719 kB / 0.7215 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.814, allocations: 3.062 kB / 0.7216 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.8141, allocations: 6.078 kB / 0.7216 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.8141, allocations: 7.281 kB / 0.7216 GB, free: 9.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.8141, allocations: 77.05 kB / 0.7216 GB, free: 9.203 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8141, allocations: 4.094 kB / 0.7216 GB, free: 9.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001953/0.8143, allocations: 15.84 kB / 0.7217 GB, free: 9.195 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.8144, allocations: 96.78 kB / 0.7217 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.8146, allocations: 56.97 kB / 0.7218 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8146, allocations: 1.312 kB / 0.7218 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.8147, allocations: 29.25 kB / 0.7218 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.8149, allocations: 11.55 kB / 0.7218 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.8156, allocations: 398.2 kB / 0.7222 GB, free: 8.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.8159, allocations: 0.6868 MB / 0.7229 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.234e-05/0.816, allocations: 9.891 kB / 0.7229 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.816, allocations: 11.62 kB / 0.7229 GB, free: 8.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.816, allocations: 0 / 0.7229 GB, free: 8.07 MB / 0.545 GB Notification: Performance of Templates: time 0.003225/0.8192, allocations: 0.5659 MB / 0.7235 GB, free: 8.008 MB / 0.545 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)