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.001359/0.001359, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.0013/0.0013, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7669/0.7669, allocations: 132.2 MB / 422.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 59.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3955, allocations: 80.19 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00229/0.3978, allocations: 1.342 MB / 0.5815 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.148/0.5459, allocations: 144.8 MB / 0.723 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.546, allocations: 0 / 0.723 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.546, allocations: 0 / 0.723 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.5461, allocations: 7.938 kB / 0.723 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.5465, allocations: 83.69 kB / 0.7231 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.5466, allocations: 35.84 kB / 0.7231 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.5466, allocations: 4 kB / 0.7231 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.5467, allocations: 15.94 kB / 0.7231 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.5468, allocations: 15.97 kB / 0.7231 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.5468, allocations: 4 kB / 0.7231 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.547, allocations: 71.83 kB / 0.7232 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.5471, allocations: 15.92 kB / 0.7232 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.5471, allocations: 11.98 kB / 0.7232 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.5472, allocations: 57.86 kB / 0.7233 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5472, allocations: 0 / 0.7233 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.895e-06/0.5472, allocations: 0 / 0.7233 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5472, allocations: 0 / 0.7233 GB, free: 11.45 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.0004175/0.5477, allocations: 347.4 kB / 0.7236 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5477, allocations: 8.031 kB / 0.7236 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.5479, allocations: 16.92 kB / 0.7236 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.548, allocations: 164.4 kB / 0.7238 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.548, allocations: 11.94 kB / 0.7238 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.5481, allocations: 0 / 0.7238 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5482, allocations: 57.61 kB / 0.7239 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5482, allocations: 0 / 0.7239 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5482, allocations: 4 kB / 0.7239 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5483, allocations: 0 / 0.7239 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.811e-05/0.5483, allocations: 19.97 kB / 0.7239 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.5485, allocations: 173.5 kB / 0.724 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.5486, allocations: 50.55 kB / 0.7241 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.5486, allocations: 16.86 kB / 0.7241 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.5486, allocations: 240 / 0.7241 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5487, allocations: 42.5 kB / 0.7242 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.5487, allocations: 0 / 0.7242 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007019/0.5494, allocations: 378.6 kB / 0.7245 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5494, allocations: 51.41 kB / 0.7246 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.5495, allocations: 89.86 kB / 0.7246 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5495, allocations: 33.7 kB / 0.7247 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.5496, allocations: 84.08 kB / 0.7248 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.5496, allocations: 43.34 kB / 0.7248 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.5497, allocations: 25.72 kB / 0.7248 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.5498, allocations: 322.8 kB / 0.7251 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.188e-05/0.5498, allocations: 20.12 kB / 0.7252 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.5498, allocations: 37.7 kB / 0.7252 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.5499, allocations: 57.64 kB / 0.7252 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5499, allocations: 0 / 0.7252 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001128/0.55, allocations: 93.61 kB / 0.7253 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5501, allocations: 8 kB / 0.7253 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5501, allocations: 0 / 0.7253 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.5501, allocations: 0 / 0.7253 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5502, allocations: 31.98 kB / 0.7254 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5502, allocations: 0 / 0.7254 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.5503, allocations: 0 / 0.7254 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5503, allocations: 4 kB / 0.7254 GB, free: 9.023 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 7.499e-05/0.5504, allocations: 125.7 kB / 0.7255 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.5504, allocations: 3.906 kB / 0.7255 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.5504, allocations: 19.95 kB / 0.7255 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5504, allocations: 0 / 0.7255 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5504, allocations: 0 / 0.7255 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5504, allocations: 4 kB / 0.7255 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.5506, allocations: 173.6 kB / 0.7257 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5506, allocations: 0 / 0.7257 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5507, allocations: 16 kB / 0.7257 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5507, allocations: 0 / 0.7257 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5507, allocations: 8 kB / 0.7257 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5507, allocations: 4 kB / 0.7257 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5507, allocations: 3.984 kB / 0.7257 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.5509, allocations: 146.8 kB / 0.7259 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.551, allocations: 89.14 kB / 0.7259 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.551, allocations: 0 / 0.7259 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.5511, allocations: 0 / 0.7259 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.5511, allocations: 8 kB / 0.726 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.5511, allocations: 7.984 kB / 0.726 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.5512, allocations: 75.28 kB / 0.726 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5512, allocations: 0 / 0.726 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001874/0.5514, allocations: 19.94 kB / 0.726 GB, free: 8.246 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.000103/0.5515, allocations: 99.34 kB / 0.7261 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.5516, allocations: 67.91 kB / 0.7262 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5516, allocations: 0 / 0.7262 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.5517, allocations: 23.94 kB / 0.7262 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.5519, allocations: 12.48 kB / 0.7262 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.5525, allocations: 374.6 kB / 0.7266 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.5527, allocations: 0.6923 MB / 0.7273 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.5528, allocations: 11.44 kB / 0.7273 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.5528, allocations: 0 / 0.7273 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.001982/0.5547, allocations: 0.8288 MB / 0.7281 GB, free: 6.078 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)