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.001169/0.001169, allocations: 107 kB / 16.41 MB, free: 6.504 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.001166/0.001166, allocations: 187 kB / 17.34 MB, free: 5.742 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7305/0.7305, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 66.3 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1239, allocations: 80.92 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002084/0.1261, allocations: 1.284 MB / 0.6665 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4248/0.5508, allocations: 147 MB / 0.8101 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.5509, allocations: 0 / 0.8101 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.551, allocations: 8.516 kB / 0.8101 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.645e-05/0.551, allocations: 2.656 kB / 0.8101 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.5514, allocations: 100.7 kB / 0.8102 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.5514, allocations: 34.02 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.5515, allocations: 2.406 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.754e-05/0.5515, allocations: 17.17 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.5516, allocations: 19.83 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5516, allocations: 2.469 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.5518, allocations: 70.72 kB / 0.8103 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.5518, allocations: 12.11 kB / 0.8103 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.5519, allocations: 18.98 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.552, allocations: 64.36 kB / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.552, allocations: 0 / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.552, allocations: 0 / 0.8104 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.552, allocations: 0 / 0.8104 GB, free: 11.51 MB / 0.5919 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.000336/0.5524, allocations: 352.9 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.5524, allocations: 9.172 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.5526, allocations: 14.25 kB / 0.8108 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.126e-05/0.5527, allocations: 167.3 kB / 0.8109 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5527, allocations: 11.38 kB / 0.8109 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.5527, allocations: 10.53 kB / 0.811 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.5528, allocations: 49.81 kB / 0.811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5528, allocations: 0 / 0.811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5529, allocations: 2.875 kB / 0.811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.5529, allocations: 0 / 0.811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.5529, allocations: 15.92 kB / 0.811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.5531, allocations: 168.4 kB / 0.8112 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.617e-05/0.5531, allocations: 58.33 kB / 0.8112 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.5532, allocations: 22.88 kB / 0.8113 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.5532, allocations: 3.938 kB / 0.8113 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5532, allocations: 36.56 kB / 0.8113 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.5532, allocations: 0 / 0.8113 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006035/0.5538, allocations: 371.1 kB / 0.8116 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.5539, allocations: 61.53 kB / 0.8117 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.046e-05/0.5539, allocations: 91.69 kB / 0.8118 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.554, allocations: 28.2 kB / 0.8118 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.554, allocations: 83.39 kB / 0.8119 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.554, allocations: 38.39 kB / 0.8119 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.5541, allocations: 29.59 kB / 0.812 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.5541, allocations: 318.4 kB / 0.8123 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.5542, allocations: 24.56 kB / 0.8123 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.5542, allocations: 32.72 kB / 0.8123 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.644e-05/0.5543, allocations: 60.69 kB / 0.8124 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.5543, allocations: 0 / 0.8124 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001076/0.5544, allocations: 96.12 kB / 0.8125 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5544, allocations: 7.672 kB / 0.8125 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5544, allocations: 2.25 kB / 0.8125 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5545, allocations: 0 / 0.8125 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5546, allocations: 31.81 kB / 0.8125 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.5546, allocations: 3.078 kB / 0.8125 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.5546, allocations: 5.656 kB / 0.8125 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.5546, allocations: 1.969 kB / 0.8125 GB, free: 9.652 MB / 0.5919 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 6.451e-05/0.5547, allocations: 118.4 kB / 0.8126 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.5547, allocations: 4.25 kB / 0.8126 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.5547, allocations: 12.75 kB / 0.8127 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.5548, allocations: 0 / 0.8127 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5548, allocations: 3.938 kB / 0.8127 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5548, allocations: 5.688 kB / 0.8127 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.5549, allocations: 175.4 kB / 0.8128 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5549, allocations: 3.438 kB / 0.8128 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.555, allocations: 27.33 kB / 0.8129 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.555, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.555, allocations: 1.438 kB / 0.8129 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.555, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.555, allocations: 1.469 kB / 0.8129 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5552, allocations: 140.1 kB / 0.813 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.5553, allocations: 83.36 kB / 0.8131 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5553, allocations: 5.797 kB / 0.8131 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.5554, allocations: 2.719 kB / 0.8131 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.5554, allocations: 5.016 kB / 0.8131 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.5554, allocations: 6.531 kB / 0.8131 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.5554, allocations: 79.25 kB / 0.8132 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5554, allocations: 0 / 0.8132 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000182/0.5556, allocations: 15.59 kB / 0.8132 GB, free: 9.086 MB / 0.5919 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 8.201e-05/0.5557, allocations: 107.7 kB / 0.8133 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.5558, allocations: 56.34 kB / 0.8133 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5558, allocations: 0 / 0.8133 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.5559, allocations: 32.78 kB / 0.8134 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.5561, allocations: 6.844 kB / 0.8134 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.5565, allocations: 350 kB / 0.8137 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.5567, allocations: 0.6846 MB / 0.8144 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.5568, allocations: 17.09 kB / 0.8144 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of SimCode: time 1.91e-07/0.5568, allocations: 0 / 0.8144 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of Templates: time 0.001742/0.5585, allocations: 0.8389 MB / 0.8152 GB, free: 7.934 MB / 0.5919 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)