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.00156/0.00156, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001493/0.001493, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8563/0.8563, allocations: 135.2 MB / 426.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002591/0.002591, allocations: 67.89 kB / 0.506 GB, free: 8.305 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3807, allocations: 80.93 MB / 0.5851 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002131/0.3829, allocations: 1.271 MB / 0.5863 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1671/0.55, allocations: 147 MB / 0.7299 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.5501, allocations: 3.938 kB / 0.7299 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.5502, allocations: 0 / 0.7299 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.5503, allocations: 3.938 kB / 0.7299 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.5507, allocations: 91.55 kB / 0.73 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.5508, allocations: 39.84 kB / 0.73 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.5508, allocations: 0 / 0.73 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.5509, allocations: 15.94 kB / 0.73 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.5509, allocations: 19.97 kB / 0.73 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5509, allocations: 0 / 0.73 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002751/0.5512, allocations: 79.83 kB / 0.7301 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.5513, allocations: 3.938 kB / 0.7301 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.5513, allocations: 23.91 kB / 0.7301 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.5515, allocations: 57.92 kB / 0.7302 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5515, allocations: 0 / 0.7302 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5515, allocations: 0 / 0.7302 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5515, allocations: 0 / 0.7302 GB, free: 5.441 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.0004653/0.552, allocations: 367.3 kB / 0.7305 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.552, allocations: 9.109 kB / 0.7305 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.5522, allocations: 8.938 kB / 0.7305 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.5523, allocations: 168.3 kB / 0.7307 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5524, allocations: 7.938 kB / 0.7307 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5524, allocations: 8 kB / 0.7307 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.5525, allocations: 45.69 kB / 0.7308 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5525, allocations: 0 / 0.7308 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5526, allocations: 8 kB / 0.7308 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5526, allocations: 3.984 kB / 0.7308 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.5526, allocations: 11.98 kB / 0.7308 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.5528, allocations: 177.4 kB / 0.731 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.5529, allocations: 54.5 kB / 0.731 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.553, allocations: 12.86 kB / 0.731 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.553, allocations: 0 / 0.731 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.553, allocations: 42.55 kB / 0.7311 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/0.553, allocations: 3.984 kB / 0.7311 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007697/0.5538, allocations: 366.8 kB / 0.7314 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.5539, allocations: 51.41 kB / 0.7315 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.554, allocations: 97.86 kB / 0.7316 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.554, allocations: 29.77 kB / 0.7316 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.554, allocations: 88.12 kB / 0.7317 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.5541, allocations: 43.36 kB / 0.7317 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.5541, allocations: 29.7 kB / 0.7317 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5543, allocations: 318.8 kB / 0.732 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.5543, allocations: 15.98 kB / 0.7321 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-05/0.5544, allocations: 41.64 kB / 0.7321 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.5545, allocations: 57.72 kB / 0.7322 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5545, allocations: 0 / 0.7322 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001432/0.5546, allocations: 101.6 kB / 0.7323 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5547, allocations: 4 kB / 0.7323 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5547, allocations: 0 / 0.7323 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5547, allocations: 0 / 0.7323 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5548, allocations: 20 kB / 0.7323 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5548, allocations: 7.922 kB / 0.7323 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.5549, allocations: 0 / 0.7323 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.5549, allocations: 8 kB / 0.7323 GB, free: 3 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.0001035/0.555, allocations: 121.8 kB / 0.7324 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.555, allocations: 7.906 kB / 0.7324 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.555, allocations: 7.969 kB / 0.7324 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.555, allocations: 0 / 0.7324 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5551, allocations: 0 / 0.7324 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5551, allocations: 0 / 0.7324 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.5552, allocations: 177.6 kB / 0.7326 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5552, allocations: 0 / 0.7326 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5554, allocations: 27.98 kB / 0.7326 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5554, allocations: 0 / 0.7326 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.5554, allocations: 11.88 kB / 0.7326 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.5554, allocations: 0 / 0.7326 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5554, allocations: 0 / 0.7326 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.5556, allocations: 133 kB / 0.7328 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.5557, allocations: 89.05 kB / 0.7328 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.5557, allocations: 0 / 0.7328 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.5558, allocations: 8 kB / 0.7328 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.5559, allocations: 7.984 kB / 0.7329 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.5559, allocations: 4 kB / 0.7329 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.5559, allocations: 79.28 kB / 0.7329 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5559, allocations: 0 / 0.7329 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001932/0.5561, allocations: 19.94 kB / 0.733 GB, free: 2.227 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.000105/0.5562, allocations: 107.1 kB / 0.7331 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.5564, allocations: 59.91 kB / 0.7331 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5564, allocations: 0 / 0.7331 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.5565, allocations: 35.47 kB / 0.7331 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.5567, allocations: 8 kB / 0.7332 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.5573, allocations: 350.6 kB / 0.7335 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.5576, allocations: 0.6807 MB / 0.7342 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.5576, allocations: 19.38 kB / 0.7342 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.5576, allocations: 0 / 0.7342 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of Templates: time 0.00235/0.56, allocations: 0.8317 MB / 0.735 GB, free: 84 kB / 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)