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.001578/0.001578, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001667/0.001668, 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8133/0.8133, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 64.88 kB / 0.5862 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.19, allocations: 80.94 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002727/0.1928, allocations: 1.266 MB / 0.6665 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6459/0.8388, allocations: 147 MB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.8389, allocations: 0 / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.425e-05/0.839, allocations: 5.25 kB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.839, allocations: 4.203 kB / 0.8101 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.8395, allocations: 97.91 kB / 0.8102 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.098e-05/0.8396, allocations: 32.45 kB / 0.8102 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.8396, allocations: 2.25 kB / 0.8102 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.307e-05/0.8397, allocations: 20.64 kB / 0.8102 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.642e-05/0.8397, allocations: 19.92 kB / 0.8103 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.8398, allocations: 2.656 kB / 0.8103 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.84, allocations: 72.55 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.84, allocations: 8 kB / 0.8103 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.8401, allocations: 21.42 kB / 0.8104 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.8403, allocations: 63.05 kB / 0.8104 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.8403, allocations: 4 kB / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8403, allocations: 0 / 0.8104 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8403, allocations: 0 / 0.8104 GB, free: 11.52 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.0004334/0.8407, allocations: 353.7 kB / 0.8108 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.8408, allocations: 11.34 kB / 0.8108 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.841, allocations: 9.344 kB / 0.8108 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.8411, allocations: 169.4 kB / 0.8109 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.8411, allocations: 11.5 kB / 0.8109 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.8411, allocations: 8.344 kB / 0.811 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.8413, allocations: 53.2 kB / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.8413, allocations: 0 / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.8413, allocations: 0 / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.8413, allocations: 6.438 kB / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.8414, allocations: 15.03 kB / 0.811 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.8416, allocations: 165.2 kB / 0.8112 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.8417, allocations: 62.92 kB / 0.8112 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.8417, allocations: 16.02 kB / 0.8113 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.8417, allocations: 6.688 kB / 0.8113 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.8418, allocations: 33.75 kB / 0.8113 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8418, allocations: 3.938 kB / 0.8113 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007174/0.8425, allocations: 364.8 kB / 0.8116 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.8425, allocations: 62.19 kB / 0.8117 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.8426, allocations: 95.48 kB / 0.8118 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.8426, allocations: 31.11 kB / 0.8118 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.8427, allocations: 80.14 kB / 0.8119 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.8427, allocations: 34.77 kB / 0.8119 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.8428, allocations: 30.81 kB / 0.812 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.8429, allocations: 319.3 kB / 0.8123 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.8429, allocations: 23.64 kB / 0.8123 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.283e-05/0.8429, allocations: 34.22 kB / 0.8123 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.843, allocations: 61.83 kB / 0.8124 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.843, allocations: 0 / 0.8124 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001293/0.8432, allocations: 96.73 kB / 0.8125 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8432, allocations: 7.062 kB / 0.8125 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.8432, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8432, allocations: 0 / 0.8125 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.8433, allocations: 24.38 kB / 0.8125 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.8434, allocations: 7.922 kB / 0.8125 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.8434, allocations: 7.5 kB / 0.8125 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.8434, allocations: 3.734 kB / 0.8125 GB, free: 9.664 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 7.543e-05/0.8435, allocations: 119.6 kB / 0.8126 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.8435, allocations: 3 kB / 0.8126 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.8435, allocations: 10.84 kB / 0.8127 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8436, allocations: 2.578 kB / 0.8127 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.8436, allocations: 2.75 kB / 0.8127 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8436, allocations: 4 kB / 0.8127 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.8437, allocations: 176.6 kB / 0.8128 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8437, allocations: 0 / 0.8128 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.8438, allocations: 21.72 kB / 0.8128 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8438, allocations: 1.219 kB / 0.8129 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.8439, allocations: 3.859 kB / 0.8129 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8439, allocations: 0 / 0.8129 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8439, allocations: 1.969 kB / 0.8129 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.8441, allocations: 140 kB / 0.813 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.8442, allocations: 87.58 kB / 0.8131 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.8442, allocations: 3.625 kB / 0.8131 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.8443, allocations: 3.688 kB / 0.8131 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.8443, allocations: 7.938 kB / 0.8131 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.8443, allocations: 6 kB / 0.8131 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.156e-05/0.8443, allocations: 81.09 kB / 0.8132 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8444, allocations: 0 / 0.8132 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001903/0.8445, allocations: 15.25 kB / 0.8132 GB, free: 9.094 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 0.000117/0.8447, allocations: 110.3 kB / 0.8133 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.8448, allocations: 54.52 kB / 0.8133 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8448, allocations: 3.938 kB / 0.8133 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.8449, allocations: 23.83 kB / 0.8134 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.8451, allocations: 9.609 kB / 0.8134 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.8457, allocations: 350.7 kB / 0.8137 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.8459, allocations: 0.6839 MB / 0.8144 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.846, allocations: 16.81 kB / 0.8144 GB, free: 8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.846, allocations: 1.781 kB / 0.8144 GB, free: 8 MB / 0.5919 GB Notification: Performance of Templates: time 0.002194/0.8482, allocations: 0.8361 MB / 0.8152 GB, free: 7.938 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)