Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008552/0.008552, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8128/0.8128, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 8.812 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.519, allocations: 81.56 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001487/0.5206, allocations: 1.001 MB / 0.5846 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1917/0.7123, allocations: 143.2 MB / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.7124, allocations: 0 / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.7125, allocations: 0 / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.127e-05/0.7125, allocations: 3.984 kB / 0.7245 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.7131, allocations: 79.64 kB / 0.7245 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.7132, allocations: 35.84 kB / 0.7246 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.7132, allocations: 0 / 0.7246 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.7133, allocations: 15.98 kB / 0.7246 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.7134, allocations: 23.91 kB / 0.7246 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.7134, allocations: 0 / 0.7246 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.7137, allocations: 71.78 kB / 0.7247 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.7138, allocations: 15.97 kB / 0.7247 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.7138, allocations: 41.64 kB / 0.7247 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.714, allocations: 65.84 kB / 0.7248 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7141, allocations: 0 / 0.7248 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7141, allocations: 0 / 0.7248 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7141, allocations: 0 / 0.7248 GB, free: 15.41 MB / 0.5606 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.0004914/0.7146, allocations: 353.5 kB / 0.7251 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.7146, allocations: 8.031 kB / 0.7251 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.7149, allocations: 8.938 kB / 0.7251 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.715, allocations: 168.4 kB / 0.7253 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7151, allocations: 3.938 kB / 0.7253 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.7151, allocations: 8 kB / 0.7253 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.7153, allocations: 45.69 kB / 0.7254 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7153, allocations: 3.984 kB / 0.7254 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.7153, allocations: 7.938 kB / 0.7254 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.7153, allocations: 0 / 0.7254 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.7154, allocations: 19.98 kB / 0.7254 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.7156, allocations: 177.4 kB / 0.7256 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.569e-05/0.7157, allocations: 50.56 kB / 0.7256 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.707e-05/0.7157, allocations: 8.859 kB / 0.7256 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.7158, allocations: 4 kB / 0.7256 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.7158, allocations: 46.48 kB / 0.7257 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.7158, allocations: 0 / 0.7257 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0008329/0.7167, allocations: 365.4 kB / 0.726 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.7167, allocations: 51.41 kB / 0.7261 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.7168, allocations: 93.86 kB / 0.7262 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.7168, allocations: 29.7 kB / 0.7262 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.7169, allocations: 84.27 kB / 0.7263 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.7169, allocations: 39.36 kB / 0.7263 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.717, allocations: 21.7 kB / 0.7263 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7171, allocations: 322.8 kB / 0.7266 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.7171, allocations: 15.98 kB / 0.7266 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.7172, allocations: 37.7 kB / 0.7267 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.7173, allocations: 61.72 kB / 0.7267 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.7173, allocations: 4 kB / 0.7267 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000162/0.7175, allocations: 101.6 kB / 0.7268 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.7175, allocations: 9.969 kB / 0.7268 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7175, allocations: 0 / 0.7268 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7176, allocations: 0 / 0.7268 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7177, allocations: 20 kB / 0.7269 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.7177, allocations: 3.984 kB / 0.7269 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.7178, allocations: 0 / 0.7269 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.7178, allocations: 4 kB / 0.7269 GB, free: 13 MB / 0.5606 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.0001254/0.7179, allocations: 131.2 kB / 0.727 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.7179, allocations: 7.906 kB / 0.727 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.718, allocations: 7.969 kB / 0.727 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.718, allocations: 0 / 0.727 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.718, allocations: 0 / 0.727 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.718, allocations: 3.938 kB / 0.727 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.7182, allocations: 177.6 kB / 0.7272 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7182, allocations: 0 / 0.7272 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.7183, allocations: 23.98 kB / 0.7272 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7183, allocations: 0 / 0.7272 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7183, allocations: 4 kB / 0.7272 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7184, allocations: 4 kB / 0.7272 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.7184, allocations: 4 kB / 0.7272 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.7186, allocations: 143.7 kB / 0.7274 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.7187, allocations: 89.05 kB / 0.7274 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.7187, allocations: 0 / 0.7274 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.7188, allocations: 8 kB / 0.7275 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.7189, allocations: 7.984 kB / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.7189, allocations: 4 kB / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.589e-05/0.7189, allocations: 79.28 kB / 0.7275 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7189, allocations: 0 / 0.7275 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002229/0.7192, allocations: 19.94 kB / 0.7276 GB, free: 12.21 MB / 0.5606 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.0001264/0.7193, allocations: 99.25 kB / 0.7277 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.7194, allocations: 55.91 kB / 0.7277 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7195, allocations: 0 / 0.7277 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.041e-05/0.7195, allocations: 35.95 kB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.7198, allocations: 8 kB / 0.7277 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.7205, allocations: 382.5 kB / 0.7281 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.7208, allocations: 0.6848 MB / 0.7288 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.7209, allocations: 12.66 kB / 0.7288 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.7209, allocations: 11.44 kB / 0.7288 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.7209, allocations: 0 / 0.7288 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.003269/0.7242, allocations: 0.613 MB / 0.7294 GB, free: 10.26 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)