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.007591/0.007591, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001458/0.001458, allocations: 200.1 kB / 16.68 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5162, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002593/0.5189, allocations: 1.28 MB / 0.6659 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.696, allocations: 147 MB / 0.8094 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.6961, allocations: 0 / 0.8094 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.6962, allocations: 3.984 kB / 0.8094 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.6963, allocations: 3.938 kB / 0.8094 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005442/0.6969, allocations: 95.55 kB / 0.8095 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.697, allocations: 35.84 kB / 0.8096 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.697, allocations: 7.984 kB / 0.8096 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.6971, allocations: 12 kB / 0.8096 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.6972, allocations: 15.91 kB / 0.8096 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.6972, allocations: 8 kB / 0.8096 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.6975, allocations: 79.77 kB / 0.8097 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.6976, allocations: 8 kB / 0.8097 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.6976, allocations: 11.92 kB / 0.8097 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.6978, allocations: 65.22 kB / 0.8098 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6978, allocations: 4 kB / 0.8098 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6978, allocations: 3.938 kB / 0.8098 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.6978, allocations: 0 / 0.8098 GB, free: 12.48 MB / 0.6387 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.0004461/0.6983, allocations: 355.3 kB / 0.8101 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6983, allocations: 16.02 kB / 0.8101 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.6986, allocations: 8.938 kB / 0.8101 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.6987, allocations: 160.4 kB / 0.8103 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.6987, allocations: 7.938 kB / 0.8103 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.6988, allocations: 4 kB / 0.8103 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.6989, allocations: 53.67 kB / 0.8103 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.6989, allocations: 3.938 kB / 0.8103 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6989, allocations: 0 / 0.8103 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6989, allocations: 4 kB / 0.8103 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.699, allocations: 23.92 kB / 0.8104 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.6992, allocations: 173.5 kB / 0.8105 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.6993, allocations: 46.56 kB / 0.8106 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.6993, allocations: 16.86 kB / 0.8106 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.6994, allocations: 0 / 0.8106 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.6994, allocations: 34.5 kB / 0.8106 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.6994, allocations: 4 kB / 0.8106 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0008025/0.7002, allocations: 374.2 kB / 0.811 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.7003, allocations: 55.41 kB / 0.811 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.864e-05/0.7003, allocations: 93.86 kB / 0.8111 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.7004, allocations: 25.7 kB / 0.8112 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.7004, allocations: 84.27 kB / 0.8112 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.7005, allocations: 51.58 kB / 0.8113 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.7005, allocations: 25.72 kB / 0.8113 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7006, allocations: 318.8 kB / 0.8116 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.779e-05/0.7007, allocations: 23.98 kB / 0.8116 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.7007, allocations: 33.7 kB / 0.8117 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.7008, allocations: 65.72 kB / 0.8117 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7008, allocations: 4 kB / 0.8117 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001449/0.701, allocations: 101.5 kB / 0.8118 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.701, allocations: 4 kB / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.701, allocations: 0 / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.701, allocations: 7.984 kB / 0.8118 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.7012, allocations: 16 kB / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.7012, allocations: 4 kB / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.7012, allocations: 4 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.7012, allocations: 4 kB / 0.8119 GB, free: 10.04 MB / 0.6387 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 8.627e-05/0.7013, allocations: 124.6 kB / 0.812 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.7013, allocations: 7.984 kB / 0.812 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.7014, allocations: 11.97 kB / 0.812 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7014, allocations: 11.94 kB / 0.812 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7014, allocations: 0 / 0.812 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7014, allocations: 0 / 0.812 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.7016, allocations: 173.6 kB / 0.8122 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.7016, allocations: 4 kB / 0.8122 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7017, allocations: 16 kB / 0.8122 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7017, allocations: 0 / 0.8122 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.7017, allocations: 3.984 kB / 0.8122 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/0.7017, allocations: 8 kB / 0.8122 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7018, allocations: 0 / 0.8122 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.702, allocations: 140.9 kB / 0.8124 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.7021, allocations: 85.09 kB / 0.8124 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7021, allocations: 8 kB / 0.8124 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.7022, allocations: 0 / 0.8124 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.7022, allocations: 8.078 kB / 0.8124 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.7022, allocations: 12 kB / 0.8125 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.7023, allocations: 75.28 kB / 0.8125 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7023, allocations: 0 / 0.8125 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000207/0.7025, allocations: 19.94 kB / 0.8126 GB, free: 9.254 MB / 0.6387 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.0001188/0.7026, allocations: 99.23 kB / 0.8126 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.7028, allocations: 59.91 kB / 0.8127 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7028, allocations: 0 / 0.8127 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.7028, allocations: 31.97 kB / 0.8127 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7031, allocations: 13.88 kB / 0.8127 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.7037, allocations: 316.7 kB / 0.813 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.704, allocations: 0.6814 MB / 0.8137 GB, free: 8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.535e-05/0.704, allocations: 8.672 kB / 0.8137 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.7041, allocations: 15.44 kB / 0.8137 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.7041, allocations: 3.938 kB / 0.8137 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of Templates: time 0.003167/0.7073, allocations: 0.6493 MB / 0.8144 GB, free: 7.324 MB / 0.6387 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)