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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.01036/0.01036, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001538/0.001539, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.00251, allocations: 67.95 kB / 0.5813 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2065, allocations: 80.21 MB / 0.6596 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00292/0.2095, allocations: 1.273 MB / 0.6609 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6159/0.8254, allocations: 147 MB / 0.8044 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.8255, allocations: 0 / 0.8044 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.8256, allocations: 6.469 kB / 0.8045 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.192e-05/0.8256, allocations: 7.188 kB / 0.8045 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.8261, allocations: 93.58 kB / 0.8046 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.8262, allocations: 32.62 kB / 0.8046 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.8262, allocations: 4.281 kB / 0.8046 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.8263, allocations: 20.78 kB / 0.8046 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.8264, allocations: 17.7 kB / 0.8046 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.8264, allocations: 1.25 kB / 0.8046 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.8267, allocations: 79.58 kB / 0.8047 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.8267, allocations: 12.36 kB / 0.8047 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.8267, allocations: 18.2 kB / 0.8047 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.8269, allocations: 62.89 kB / 0.8048 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8269, allocations: 0 / 0.8048 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8269, allocations: 0 / 0.8048 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8269, allocations: 0 / 0.8048 GB, free: 12.37 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.0004626/0.8274, allocations: 357.9 kB / 0.8051 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8275, allocations: 9.188 kB / 0.8051 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.8277, allocations: 21.86 kB / 0.8052 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8278, allocations: 160.6 kB / 0.8053 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8278, allocations: 10.56 kB / 0.8053 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.8279, allocations: 3 kB / 0.8053 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.828, allocations: 50.52 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.828, allocations: 0 / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.828, allocations: 1.344 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.828, allocations: 1 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.113e-05/0.8281, allocations: 17.91 kB / 0.8054 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.8283, allocations: 172.5 kB / 0.8056 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.994e-05/0.8284, allocations: 50.52 kB / 0.8056 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.8284, allocations: 20.77 kB / 0.8056 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.8284, allocations: 1.344 kB / 0.8056 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.8285, allocations: 35.16 kB / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/0.8285, allocations: 0 / 0.8057 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007588/0.8292, allocations: 380.8 kB / 0.806 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8293, allocations: 57 kB / 0.8061 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.8294, allocations: 93.67 kB / 0.8062 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.8294, allocations: 30.61 kB / 0.8062 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.8294, allocations: 81.67 kB / 0.8063 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.8295, allocations: 33.56 kB / 0.8063 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.8295, allocations: 34.14 kB / 0.8063 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.8297, allocations: 318.9 kB / 0.8066 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.8297, allocations: 19.38 kB / 0.8067 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.8298, allocations: 39.59 kB / 0.8067 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.8299, allocations: 62.02 kB / 0.8068 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.8299, allocations: 1.594 kB / 0.8068 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001297/0.83, allocations: 96.39 kB / 0.8069 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.83, allocations: 5.531 kB / 0.8069 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.83, allocations: 4 kB / 0.8069 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8301, allocations: 1.344 kB / 0.8069 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.8302, allocations: 23.92 kB / 0.8069 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8302, allocations: 3.844 kB / 0.8069 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.8302, allocations: 5.062 kB / 0.8069 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.8302, allocations: 2.531 kB / 0.8069 GB, free: 10.51 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 9.103e-05/0.8303, allocations: 116.9 kB / 0.807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.8304, allocations: 7 kB / 0.807 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.8304, allocations: 16.03 kB / 0.807 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8304, allocations: 1.219 kB / 0.807 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.8304, allocations: 0 / 0.807 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8304, allocations: 3.125 kB / 0.807 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.8306, allocations: 174.5 kB / 0.8072 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8306, allocations: 0 / 0.8072 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.8307, allocations: 28.75 kB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.8307, allocations: 1.219 kB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.8307, allocations: 1.312 kB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8307, allocations: 0 / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8307, allocations: 3.438 kB / 0.8072 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.8309, allocations: 141.9 kB / 0.8074 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.831, allocations: 82.41 kB / 0.8074 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.831, allocations: 5.062 kB / 0.8075 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.8311, allocations: 2.781 kB / 0.8075 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.8311, allocations: 7.156 kB / 0.8075 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.8311, allocations: 8.281 kB / 0.8075 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.871e-05/0.8312, allocations: 83.22 kB / 0.8075 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8313, allocations: 1.906 kB / 0.8076 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001909/0.8315, allocations: 14.41 kB / 0.8076 GB, free: 9.926 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.0001072/0.8316, allocations: 100.1 kB / 0.8077 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.8317, allocations: 60.55 kB / 0.8077 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8317, allocations: 0 / 0.8077 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.8318, allocations: 24.72 kB / 0.8077 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.832, allocations: 9.547 kB / 0.8077 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.8326, allocations: 321.5 kB / 0.8081 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.8328, allocations: 0.6905 MB / 0.8087 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.186e-05/0.8329, allocations: 12.5 kB / 0.8087 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.8329, allocations: 12.34 kB / 0.8088 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.8329, allocations: 0 / 0.8088 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of Templates: time 0.002862/0.8358, allocations: 0.633 MB / 0.8094 GB, free: 8.809 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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)