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.001206/0.001207, allocations: 103.4 kB / 15.98 MB, free: 5.891 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.001297/0.001297, allocations: 193.6 kB / 16.91 MB, free: 5.746 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.1 MB / 425.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 68.59 kB / 0.5055 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1973, allocations: 80.92 MB / 0.5845 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003148/0.2005, allocations: 1.331 MB / 0.5858 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5406/0.7411, allocations: 144.8 MB / 0.7273 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.7412, allocations: 0 / 0.7273 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.7413, allocations: 5.578 kB / 0.7273 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.7414, allocations: 2.062 kB / 0.7273 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.7418, allocations: 90.25 kB / 0.7274 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.7419, allocations: 35.3 kB / 0.7274 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.742, allocations: 3.562 kB / 0.7274 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.742, allocations: 13.42 kB / 0.7274 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.7421, allocations: 21.25 kB / 0.7274 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.7421, allocations: 2.406 kB / 0.7274 GB, free: 2.859 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.7424, allocations: 71.59 kB / 0.7275 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.7424, allocations: 12.27 kB / 0.7275 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.7425, allocations: 15.78 kB / 0.7275 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.7426, allocations: 47.28 kB / 0.7276 GB, free: 2.805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.7426, allocations: 0.5156 kB / 0.7276 GB, free: 2.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7426, allocations: 4 kB / 0.7276 GB, free: 2.801 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7427, allocations: 0 / 0.7276 GB, free: 2.801 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.0004463/0.7431, allocations: 358.9 kB / 0.7279 GB, free: 2.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7432, allocations: 9.219 kB / 0.7279 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.7434, allocations: 20.48 kB / 0.7279 GB, free: 2.426 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.7435, allocations: 163.4 kB / 0.7281 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.7435, allocations: 6.312 kB / 0.7281 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.7435, allocations: 2.469 kB / 0.7281 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.7437, allocations: 55.78 kB / 0.7282 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.7437, allocations: 1.062 kB / 0.7282 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7437, allocations: 1.125 kB / 0.7282 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7437, allocations: 0 / 0.7282 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.837e-05/0.7438, allocations: 17.55 kB / 0.7282 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.744, allocations: 175 kB / 0.7283 GB, free: 1.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.566e-05/0.7441, allocations: 48.11 kB / 0.7284 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.7441, allocations: 18.06 kB / 0.7284 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.7441, allocations: 7.984 kB / 0.7284 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7442, allocations: 40.75 kB / 0.7285 GB, free: 1.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7442, allocations: 0 / 0.7285 GB, free: 1.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007722/0.745, allocations: 367.2 kB / 0.7288 GB, free: 1.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.745, allocations: 54.44 kB / 0.7289 GB, free: 1.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.752e-05/0.7451, allocations: 95.53 kB / 0.729 GB, free: 1.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.7451, allocations: 30.67 kB / 0.729 GB, free: 1.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.7451, allocations: 82.17 kB / 0.7291 GB, free: 1.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.7452, allocations: 43.02 kB / 0.7291 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.7452, allocations: 27.25 kB / 0.7291 GB, free: 1.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.7453, allocations: 323.1 kB / 0.7294 GB, free: 0.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.7454, allocations: 17.75 kB / 0.7295 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.7455, allocations: 43.12 kB / 0.7295 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.7456, allocations: 59.66 kB / 0.7296 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.7456, allocations: 0 / 0.7296 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001389/0.7457, allocations: 92.17 kB / 0.7296 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7457, allocations: 6.562 kB / 0.7296 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7457, allocations: 1.938 kB / 0.7296 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.7458, allocations: 1.469 kB / 0.7296 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.7459, allocations: 28.7 kB / 0.7297 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7459, allocations: 1.031 kB / 0.7297 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.7459, allocations: 5.219 kB / 0.7297 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.746, allocations: 4.016 kB / 0.7297 GB, free: 0.7852 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 8.125e-05/0.7461, allocations: 116.7 kB / 0.7298 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.7461, allocations: 7.25 kB / 0.7298 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.7461, allocations: 12.67 kB / 0.7298 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7461, allocations: 3.406 kB / 0.7298 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7461, allocations: 0.6562 kB / 0.7298 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.7461, allocations: 0.75 kB / 0.7298 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.7463, allocations: 171.2 kB / 0.73 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7463, allocations: 4 kB / 0.73 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.7464, allocations: 25.41 kB / 0.73 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7464, allocations: 0 / 0.73 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.7464, allocations: 9.938 kB / 0.73 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7465, allocations: 1.281 kB / 0.73 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7465, allocations: 0 / 0.73 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.7467, allocations: 128 kB / 0.7301 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.7468, allocations: 95.08 kB / 0.7302 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.7468, allocations: 6.406 kB / 0.7302 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.7469, allocations: 3.375 kB / 0.7302 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.7469, allocations: 10.14 kB / 0.7303 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.7469, allocations: 2.719 kB / 0.7303 GB, free: 244 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.747, allocations: 81.2 kB / 0.7303 GB, free: 164 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.747, allocations: 0 / 0.7303 GB, free: 164 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001927/0.7472, allocations: 16.34 kB / 0.7303 GB, free: 160 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.0001034/0.7473, allocations: 105.6 kB / 0.7304 GB, free: 64 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.7475, allocations: 63.09 kB / 0.7305 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7475, allocations: 1.828 kB / 0.7305 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.7475, allocations: 29.91 kB / 0.7305 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.7478, allocations: 9.125 kB / 0.7305 GB, free: 32 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.7484, allocations: 367.2 kB / 0.7309 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.7487, allocations: 0.6844 MB / 0.7316 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.7487, allocations: 13.38 kB / 0.7316 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.7487, allocations: 4 kB / 0.7316 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.002676/0.7514, allocations: 0.8315 MB / 0.7324 GB, free: 14.97 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)