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.005981/0.005981, allocations: 101.3 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.001246/0.001246, allocations: 200 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7989/0.7989, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 61.84 kB / 0.5813 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2021, allocations: 80.21 MB / 0.6597 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002428/0.2045, allocations: 1.28 MB / 0.6609 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1791/0.3837, allocations: 147 MB / 0.8045 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3838, allocations: 0 / 0.8045 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.3839, allocations: 3.938 kB / 0.8045 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.384, allocations: 3.984 kB / 0.8045 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.3845, allocations: 95.55 kB / 0.8046 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.3846, allocations: 31.86 kB / 0.8046 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.3846, allocations: 11.94 kB / 0.8046 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.3847, allocations: 12 kB / 0.8046 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.3848, allocations: 19.91 kB / 0.8046 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3848, allocations: 0 / 0.8046 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.3851, allocations: 83.81 kB / 0.8047 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.3851, allocations: 4 kB / 0.8047 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.3851, allocations: 15.92 kB / 0.8047 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.3853, allocations: 63.83 kB / 0.8048 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3853, allocations: 0 / 0.8048 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3853, allocations: 4 kB / 0.8048 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3853, allocations: 0 / 0.8048 GB, free: 8.453 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.0004651/0.3858, allocations: 355.5 kB / 0.8051 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3859, allocations: 12.03 kB / 0.8052 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.3861, allocations: 8.922 kB / 0.8052 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.3862, allocations: 172.2 kB / 0.8053 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3862, allocations: 3.938 kB / 0.8053 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.3862, allocations: 8 kB / 0.8053 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3864, allocations: 49.67 kB / 0.8054 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3864, allocations: 4 kB / 0.8054 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3864, allocations: 4 kB / 0.8054 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3864, allocations: 0 / 0.8054 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.519e-05/0.3865, allocations: 15.98 kB / 0.8054 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.3867, allocations: 165.6 kB / 0.8056 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.3868, allocations: 54.5 kB / 0.8056 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.3868, allocations: 16.86 kB / 0.8056 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3868, allocations: 3.984 kB / 0.8056 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3869, allocations: 38.5 kB / 0.8057 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3869, allocations: 0 / 0.8057 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0007621/0.3876, allocations: 366.9 kB / 0.806 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3877, allocations: 63.28 kB / 0.8061 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.3878, allocations: 97.86 kB / 0.8062 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.3878, allocations: 25.7 kB / 0.8062 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.3878, allocations: 84.12 kB / 0.8063 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.3879, allocations: 39.47 kB / 0.8063 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.3879, allocations: 29.7 kB / 0.8063 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3881, allocations: 314.8 kB / 0.8066 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.3881, allocations: 19.98 kB / 0.8067 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.3882, allocations: 37.7 kB / 0.8067 GB, free: 6.238 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.3883, allocations: 69.81 kB / 0.8068 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3883, allocations: 0 / 0.8068 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000131/0.3884, allocations: 97.52 kB / 0.8069 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3884, allocations: 4 kB / 0.8069 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.3884, allocations: 0 / 0.8069 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3885, allocations: 4 kB / 0.8069 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3886, allocations: 23.92 kB / 0.8069 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3886, allocations: 7.938 kB / 0.8069 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.3886, allocations: 0 / 0.8069 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3887, allocations: 8 kB / 0.8069 GB, free: 6.016 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 9.826e-05/0.3888, allocations: 122.4 kB / 0.807 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.3888, allocations: 4 kB / 0.807 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.3888, allocations: 7.969 kB / 0.807 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3888, allocations: 4 kB / 0.807 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3888, allocations: 0 / 0.807 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3888, allocations: 0 / 0.807 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.389, allocations: 177.6 kB / 0.8072 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.389, allocations: 0 / 0.8072 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3891, allocations: 27.92 kB / 0.8072 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3891, allocations: 4 kB / 0.8072 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.3892, allocations: 0 / 0.8072 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3892, allocations: 4 kB / 0.8072 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3892, allocations: 0 / 0.8072 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.3894, allocations: 136.9 kB / 0.8074 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.3895, allocations: 85.14 kB / 0.8075 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3895, allocations: 4 kB / 0.8075 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.3896, allocations: 4 kB / 0.8075 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3896, allocations: 11.98 kB / 0.8075 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3896, allocations: 8 kB / 0.8075 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.3897, allocations: 75.28 kB / 0.8076 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.3897, allocations: 0 / 0.8076 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002019/0.3899, allocations: 19.94 kB / 0.8076 GB, free: 5.234 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.0001086/0.39, allocations: 107.2 kB / 0.8077 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3901, allocations: 55.86 kB / 0.8077 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3901, allocations: 4.094 kB / 0.8077 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.3902, allocations: 31.98 kB / 0.8078 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3904, allocations: 8 kB / 0.8078 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.391, allocations: 322.6 kB / 0.8081 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.3913, allocations: 0.6807 MB / 0.8087 GB, free: 3.973 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.423e-05/0.3914, allocations: 12.66 kB / 0.8088 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3914, allocations: 15.44 kB / 0.8088 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of SimCode: time 2.3e-07/0.3914, allocations: 0 / 0.8088 GB, free: 3.945 MB / 0.6387 GB Notification: Performance of Templates: time 0.00285/0.3943, allocations: 0.6406 MB / 0.8094 GB, free: 3.312 MB / 0.6387 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)