Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.696/1.696, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 174.4 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 0.5786 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007148/0.0007149, allocations: 87.98 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 10.53 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1712, allocations: 106.3 MB / 0.9015 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001115/0.1724, allocations: 1.005 MB / 0.9024 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1341/0.3065, allocations: 143.2 MB / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.3066, allocations: 0 / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.3066, allocations: 0 / 1.042 GB, free: 15.06 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.3067, allocations: 3.984 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3071, allocations: 83.62 kB / 1.042 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.3072, allocations: 35.84 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.3072, allocations: 0 / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.3073, allocations: 11.98 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.3073, allocations: 19.94 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3074, allocations: 0 / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/0.3076, allocations: 79.75 kB / 1.042 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.3077, allocations: 11.98 kB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.3077, allocations: 45.62 kB / 1.043 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3078, allocations: 39.95 kB / 1.043 GB, free: 14.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3079, allocations: 0 / 1.043 GB, free: 14.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3079, allocations: 0 / 1.043 GB, free: 14.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.3079, allocations: 0 / 1.043 GB, free: 14.73 MB / 0.698 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.0003994/0.3083, allocations: 344.5 kB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3083, allocations: 12.03 kB / 1.043 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.3085, allocations: 12.92 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3087, allocations: 168.3 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3087, allocations: 3.938 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3087, allocations: 7.906 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3089, allocations: 53.67 kB / 1.043 GB, free: 14.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3089, allocations: 3.938 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3089, allocations: 4 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3089, allocations: 4 kB / 1.043 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.309, allocations: 15.98 kB / 1.043 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3092, allocations: 161.6 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.3093, allocations: 46.56 kB / 1.043 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.3094, allocations: 20.84 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.3094, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3094, allocations: 38.5 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3094, allocations: 0 / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007493/0.3102, allocations: 374.3 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3102, allocations: 55.41 kB / 1.044 GB, free: 13.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.3103, allocations: 93.84 kB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3103, allocations: 29.77 kB / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.3104, allocations: 92.14 kB / 1.044 GB, free: 12.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.3104, allocations: 35.45 kB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.3104, allocations: 0 / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3105, allocations: 318.8 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.72e-05/0.3106, allocations: 23.98 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.3107, allocations: 40.83 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.3107, allocations: 62.17 kB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3108, allocations: 4 kB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001387/0.3109, allocations: 97.61 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3109, allocations: 4 kB / 1.045 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3109, allocations: 4 kB / 1.045 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.311, allocations: 0 / 1.045 GB, free: 12.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3111, allocations: 16 kB / 1.045 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3111, allocations: 4 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.3111, allocations: 3.984 kB / 1.045 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3111, allocations: 8 kB / 1.045 GB, free: 12.34 MB / 0.698 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.665e-05/0.3112, allocations: 125.7 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.3113, allocations: 3.906 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.3113, allocations: 7.969 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3113, allocations: 4 kB / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3113, allocations: 0 / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3113, allocations: 0 / 1.045 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3115, allocations: 177.6 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3115, allocations: 0 / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3116, allocations: 23.98 kB / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3116, allocations: 0 / 1.045 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3117, allocations: 12 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3117, allocations: 3.938 kB / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3117, allocations: 0 / 1.045 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.3119, allocations: 136.9 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.312, allocations: 81.14 kB / 1.045 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.312, allocations: 4 kB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.3121, allocations: 4 kB / 1.045 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.3121, allocations: 7.984 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3121, allocations: 8 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.3122, allocations: 75.28 kB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3122, allocations: 0 / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001883/0.3124, allocations: 19.94 kB / 1.045 GB, free: 11.56 MB / 0.698 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.0001022/0.3125, allocations: 107.3 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3126, allocations: 59.84 kB / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3126, allocations: 0 / 1.045 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.3127, allocations: 35.97 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3129, allocations: 11.17 kB / 1.046 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.3135, allocations: 412.1 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3138, allocations: 0.6887 MB / 1.047 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.3139, allocations: 11.44 kB / 1.047 GB, free: 10.18 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/0.3139, allocations: 0 / 1.047 GB, free: 10.18 MB / 0.698 GB Notification: Performance of Templates: time 0.002144/0.316, allocations: 0.8215 MB / 1.047 GB, free: 9.363 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)