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.001294/0.001294, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001293/0.001293, allocations: 194.6 kB / 16.25 MB, free: 6.625 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.2 MB / 425.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 72.53 kB / 0.5049 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2016, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003328/0.205, allocations: 1.322 MB / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5411/0.7462, allocations: 144.8 MB / 0.7267 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.7463, allocations: 0 / 0.7267 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.7464, allocations: 4.781 kB / 0.7267 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.7464, allocations: 6.75 kB / 0.7267 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.7469, allocations: 86.81 kB / 0.7268 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.07e-05/0.747, allocations: 36.05 kB / 0.7268 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.747, allocations: 2.078 kB / 0.7268 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.565e-05/0.7471, allocations: 9.844 kB / 0.7268 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.7472, allocations: 21.45 kB / 0.7268 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.7472, allocations: 1.375 kB / 0.7268 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.7475, allocations: 77.19 kB / 0.7269 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.7475, allocations: 4.891 kB / 0.7269 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.7475, allocations: 20.97 kB / 0.7269 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.7477, allocations: 67.73 kB / 0.727 GB, free: 3.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7477, allocations: 0 / 0.727 GB, free: 3.051 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7477, allocations: 0 / 0.727 GB, free: 3.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7477, allocations: 1.062 kB / 0.727 GB, free: 3.051 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.0004208/0.7482, allocations: 348.2 kB / 0.7273 GB, free: 2.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7482, allocations: 10.33 kB / 0.7274 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.7484, allocations: 12.56 kB / 0.7274 GB, free: 2.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.7485, allocations: 170.8 kB / 0.7275 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.7486, allocations: 10.09 kB / 0.7275 GB, free: 2.477 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.7486, allocations: 8 kB / 0.7275 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.7487, allocations: 47.61 kB / 0.7276 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.7488, allocations: 0 / 0.7276 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.7488, allocations: 5.062 kB / 0.7276 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.7488, allocations: 1.094 kB / 0.7276 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.706e-05/0.7488, allocations: 17.27 kB / 0.7276 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.749, allocations: 174.6 kB / 0.7278 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.7492, allocations: 60.48 kB / 0.7278 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.7492, allocations: 17.59 kB / 0.7279 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.7492, allocations: 1.5 kB / 0.7279 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.7493, allocations: 36.28 kB / 0.7279 GB, free: 2.125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.7493, allocations: 0 / 0.7279 GB, free: 2.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007541/0.75, allocations: 360 kB / 0.7282 GB, free: 1.832 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.7501, allocations: 57.62 kB / 0.7283 GB, free: 1.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.7502, allocations: 96.53 kB / 0.7284 GB, free: 1.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.7502, allocations: 26.77 kB / 0.7284 GB, free: 1.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.7503, allocations: 81.33 kB / 0.7285 GB, free: 1.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.7503, allocations: 54.75 kB / 0.7285 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.7504, allocations: 28.09 kB / 0.7286 GB, free: 1.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7505, allocations: 318.9 kB / 0.7289 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.076e-05/0.7505, allocations: 24.86 kB / 0.7289 GB, free: 1.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-05/0.7506, allocations: 36.28 kB / 0.7289 GB, free: 1.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.61e-05/0.7507, allocations: 62.23 kB / 0.729 GB, free: 1.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.7507, allocations: 0 / 0.729 GB, free: 1.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001418/0.7508, allocations: 94.64 kB / 0.7291 GB, free: 1.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.7509, allocations: 6.156 kB / 0.7291 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7509, allocations: 0 / 0.7291 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.7509, allocations: 2.312 kB / 0.7291 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.751, allocations: 19.55 kB / 0.7291 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.751, allocations: 6.094 kB / 0.7291 GB, free: 1.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.7511, allocations: 9.656 kB / 0.7291 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.7511, allocations: 3.562 kB / 0.7291 GB, free: 1.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.7512, allocations: 117.1 kB / 0.7292 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.7513, allocations: 7.156 kB / 0.7292 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.7513, allocations: 9.094 kB / 0.7292 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7513, allocations: 1.953 kB / 0.7292 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7513, allocations: 4.844 kB / 0.7293 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7513, allocations: 4.75 kB / 0.7293 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.7515, allocations: 177.3 kB / 0.7294 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.7515, allocations: 1.953 kB / 0.7294 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.7516, allocations: 19.94 kB / 0.7294 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7516, allocations: 1.656 kB / 0.7294 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.7516, allocations: 1 kB / 0.7294 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.7517, allocations: 4.812 kB / 0.7295 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7517, allocations: 0.75 kB / 0.7295 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.7519, allocations: 137.8 kB / 0.7296 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.752, allocations: 87.44 kB / 0.7297 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.752, allocations: 1.156 kB / 0.7297 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.7521, allocations: 8.297 kB / 0.7297 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.7521, allocations: 5.453 kB / 0.7297 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.7521, allocations: 2.344 kB / 0.7297 GB, free: 496 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.7522, allocations: 77.11 kB / 0.7298 GB, free: 420 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7522, allocations: 3.938 kB / 0.7298 GB, free: 416 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001965/0.7524, allocations: 16.56 kB / 0.7298 GB, free: 412 kB / 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 (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.0001133/0.7525, allocations: 114.2 kB / 0.7299 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.7526, allocations: 62.84 kB / 0.7299 GB, free: 288 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7527, allocations: 0 / 0.7299 GB, free: 288 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.7527, allocations: 25.55 kB / 0.73 GB, free: 284 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.753, allocations: 8.188 kB / 0.73 GB, free: 280 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007011/0.7537, allocations: 346.4 kB / 0.7303 GB, free: 0 / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.754, allocations: 0.6889 MB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.7541, allocations: 9.828 kB / 0.731 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.7541, allocations: 12.06 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.7541, allocations: 1.156 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.003501/0.7577, allocations: 0.6211 MB / 0.7316 GB, free: 15.23 MB / 0.5606 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)