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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.735/0.735, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 106 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.162, allocations: 80.2 MB / 0.6402 GB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002517/0.1646, allocations: 1.337 MB / 0.6415 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5263/0.6909, allocations: 144.7 MB / 0.7828 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.6911, allocations: 0 / 0.7828 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.6912, allocations: 0 / 0.7828 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.6913, allocations: 3.938 kB / 0.7828 GB, free: 288 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.6919, allocations: 83.72 kB / 0.7829 GB, free: 224 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.692, allocations: 38.97 kB / 0.7829 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.6921, allocations: 2.906 kB / 0.7829 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.6922, allocations: 15.22 kB / 0.7829 GB, free: 192 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.6923, allocations: 15.19 kB / 0.7829 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.6923, allocations: 2.312 kB / 0.7829 GB, free: 184 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.6927, allocations: 72.64 kB / 0.783 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.6927, allocations: 14.39 kB / 0.783 GB, free: 132 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.6928, allocations: 15.86 kB / 0.783 GB, free: 124 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.693, allocations: 62.31 kB / 0.7831 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.693, allocations: 0 / 0.7831 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.703e-06/0.693, allocations: 0 / 0.7831 GB, free: 96 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.6931, allocations: 0 / 0.7831 GB, free: 96 kB / 0.5105 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.000726/0.6938, allocations: 361.2 kB / 0.7834 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.6939, allocations: 10.31 kB / 0.7834 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.6941, allocations: 12.36 kB / 0.7835 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.6943, allocations: 164.6 kB / 0.7836 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.6943, allocations: 6.812 kB / 0.7836 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.6944, allocations: 6.406 kB / 0.7836 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.6946, allocations: 53.86 kB / 0.7837 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6946, allocations: 0 / 0.7837 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.6946, allocations: 6.281 kB / 0.7837 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.6947, allocations: 0 / 0.7837 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.6947, allocations: 18.67 kB / 0.7837 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.695, allocations: 173 kB / 0.7839 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.6952, allocations: 58.44 kB / 0.7839 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.6952, allocations: 16.52 kB / 0.7839 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.6953, allocations: 3.984 kB / 0.7839 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.6953, allocations: 30.56 kB / 0.784 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6953, allocations: 0 / 0.784 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001041/0.6964, allocations: 367.3 kB / 0.7843 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.6964, allocations: 53.22 kB / 0.7844 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.6965, allocations: 93.05 kB / 0.7845 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.6966, allocations: 29.7 kB / 0.7845 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.6966, allocations: 84.12 kB / 0.7846 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.31e-05/0.6967, allocations: 40.38 kB / 0.7846 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.6968, allocations: 28.98 kB / 0.7846 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6969, allocations: 325.7 kB / 0.7849 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.192e-05/0.697, allocations: 18.05 kB / 0.785 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.697, allocations: 41.23 kB / 0.785 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.6971, allocations: 52.27 kB / 0.7851 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6971, allocations: 0 / 0.7851 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001764/0.6973, allocations: 103.8 kB / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6974, allocations: 4.312 kB / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6974, allocations: 0 / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6974, allocations: 7.125 kB / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.6976, allocations: 21.39 kB / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6976, allocations: 2.406 kB / 0.7852 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.6976, allocations: 3.984 kB / 0.7852 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.6976, allocations: 6.438 kB / 0.7852 GB, free: 13.99 MB / 0.5261 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 0.0001167/0.6978, allocations: 121.8 kB / 0.7853 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.6978, allocations: 6.469 kB / 0.7853 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.6978, allocations: 10.34 kB / 0.7853 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6979, allocations: 4 kB / 0.7853 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.6979, allocations: 1.938 kB / 0.7853 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6979, allocations: 0.5 kB / 0.7853 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.6981, allocations: 176.3 kB / 0.7855 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6981, allocations: 0 / 0.7855 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.6982, allocations: 28.67 kB / 0.7855 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.6982, allocations: 0 / 0.7855 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6983, allocations: 2.531 kB / 0.7855 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6983, allocations: 0 / 0.7855 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6983, allocations: 0.7812 kB / 0.7855 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.6998, allocations: 1.105 MB / 0.7866 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.6999, allocations: 87.48 kB / 0.7867 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.7, allocations: 11.94 kB / 0.7867 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.7001, allocations: 6.406 kB / 0.7867 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.7001, allocations: 9.203 kB / 0.7867 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.7001, allocations: 6.594 kB / 0.7867 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.595e-05/0.7002, allocations: 75.28 kB / 0.7868 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.7002, allocations: 0 / 0.7868 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003071/0.7005, allocations: 18.97 kB / 0.7868 GB, free: 12.34 MB / 0.5261 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.0001802/0.7007, allocations: 104.8 kB / 0.7869 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.7008, allocations: 55.95 kB / 0.787 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7009, allocations: 0 / 0.787 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.7009, allocations: 29.61 kB / 0.787 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.7012, allocations: 9.844 kB / 0.787 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008831/0.7021, allocations: 470.1 kB / 0.7875 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.7025, allocations: 0.6889 MB / 0.7881 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.277e-05/0.7026, allocations: 7.547 kB / 0.7881 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.7027, allocations: 18.84 kB / 0.7882 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-07/0.7027, allocations: 0 / 0.7882 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.003345/0.706, allocations: 0.6595 MB / 0.7888 GB, free: 10.53 MB / 0.5261 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)