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-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_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.0008736/0.0008735, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.0008816/0.0008816, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8183/0.8183, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003287, allocations: 8.719 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001301/0.1781, allocations: 0.9705 MB / 0.5881 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3588/0.537, allocations: 124.3 MB / 0.7095 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.5371, allocations: 0 / 0.7095 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.5371, allocations: 2.703 kB / 0.7095 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.5372, allocations: 4.547 kB / 0.7095 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.5376, allocations: 87.03 kB / 0.7096 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.5376, allocations: 16.42 kB / 0.7096 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.5377, allocations: 2.656 kB / 0.7096 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.653e-05/0.5378, allocations: 20.52 kB / 0.7096 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.5378, allocations: 17.94 kB / 0.7096 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.5379, allocations: 1.188 kB / 0.7096 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.5381, allocations: 77.41 kB / 0.7097 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.5382, allocations: 11.7 kB / 0.7097 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.5382, allocations: 34.88 kB / 0.7098 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.5383, allocations: 45.27 kB / 0.7098 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5384, allocations: 1.188 kB / 0.7098 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.366e-06/0.5384, allocations: 0 / 0.7098 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5384, allocations: 3.938 kB / 0.7098 GB, free: 3.359 MB / 0.5294 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.000396/0.5388, allocations: 343.8 kB / 0.7101 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5388, allocations: 8.75 kB / 0.7102 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.539, allocations: 18.48 kB / 0.7102 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.5392, allocations: 161.1 kB / 0.7103 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5392, allocations: 2.156 kB / 0.7103 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.5392, allocations: 9.344 kB / 0.7103 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5394, allocations: 47.34 kB / 0.7104 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5394, allocations: 4 kB / 0.7104 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.5394, allocations: 5.25 kB / 0.7104 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5394, allocations: 1.438 kB / 0.7104 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.5395, allocations: 17.11 kB / 0.7104 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.5397, allocations: 174.5 kB / 0.7106 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.5398, allocations: 48.41 kB / 0.7106 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.5398, allocations: 0 / 0.7106 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5398, allocations: 38.52 kB / 0.7107 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.5398, allocations: 0 / 0.7107 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000713/0.5406, allocations: 369.1 kB / 0.711 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5406, allocations: 53.84 kB / 0.7111 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.5407, allocations: 100.5 kB / 0.7112 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.5407, allocations: 27.23 kB / 0.7112 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.5407, allocations: 84.14 kB / 0.7113 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.5408, allocations: 47.7 kB / 0.7113 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5408, allocations: 0 / 0.7113 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.5409, allocations: 319.3 kB / 0.7116 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.5409, allocations: 20.92 kB / 0.7116 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.771e-05/0.541, allocations: 34.19 kB / 0.7117 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.541, allocations: 29.62 kB / 0.7117 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.541, allocations: 4 kB / 0.7117 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001212/0.5412, allocations: 90.23 kB / 0.7118 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5412, allocations: 5.75 kB / 0.7118 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5412, allocations: 0.6094 kB / 0.7118 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.5412, allocations: 1.562 kB / 0.7118 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5413, allocations: 25.3 kB / 0.7118 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5413, allocations: 1.438 kB / 0.7118 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.5414, allocations: 5.953 kB / 0.7118 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.5414, allocations: 7.109 kB / 0.7118 GB, free: 1.41 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.5414, allocations: 117.3 kB / 0.7119 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.5415, allocations: 7.234 kB / 0.7119 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.5415, allocations: 11.97 kB / 0.712 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5415, allocations: 3.5 kB / 0.712 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5415, allocations: 3.438 kB / 0.712 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5415, allocations: 0.6094 kB / 0.712 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.5416, allocations: 175.4 kB / 0.7121 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5417, allocations: 0 / 0.7121 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.5418, allocations: 24.95 kB / 0.7122 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5418, allocations: 2.109 kB / 0.7122 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.5418, allocations: 7.938 kB / 0.7122 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5418, allocations: 1.312 kB / 0.7122 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5418, allocations: 0.6094 kB / 0.7122 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.542, allocations: 128.6 kB / 0.7123 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.5421, allocations: 91.03 kB / 0.7124 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.5421, allocations: 5.531 kB / 0.7124 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.5422, allocations: 4.25 kB / 0.7124 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.5422, allocations: 5.469 kB / 0.7124 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.5422, allocations: 11.06 kB / 0.7124 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.5423, allocations: 77.48 kB / 0.7125 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5423, allocations: 0 / 0.7125 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001918/0.5425, allocations: 15.53 kB / 0.7125 GB, free: 0.7812 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.523e-05/0.5426, allocations: 104.2 kB / 0.7126 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5427, allocations: 53.16 kB / 0.7126 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5427, allocations: 1.219 kB / 0.7126 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.5428, allocations: 31.81 kB / 0.7127 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.5429, allocations: 10.94 kB / 0.7127 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.5435, allocations: 386.8 kB / 0.7131 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5437, allocations: 0.6925 MB / 0.7137 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.082e-05/0.5438, allocations: 10.66 kB / 0.7137 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.5438, allocations: 11.41 kB / 0.7137 GB, free: 15.65 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5438, allocations: 0 / 0.7137 GB, free: 15.65 MB / 0.545 GB Notification: Performance of Templates: time 0.002353/0.5462, allocations: 0.5657 MB / 0.7143 GB, free: 15.58 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: