Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.899/1.899, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 181 kB / 371.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.6306 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000926/0.0009258, allocations: 77.23 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005747/0.0005749, allocations: 14.66 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2537, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00147/0.2552, allocations: 0.9729 MB / 0.9804 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6439/0.8991, allocations: 124.3 MB / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.8992, allocations: 0 / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.8993, allocations: 2.203 kB / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.8993, allocations: 3.609 kB / 1.102 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.8997, allocations: 88.52 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.8997, allocations: 21.06 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.8998, allocations: 3.969 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.8998, allocations: 17.34 kB / 1.102 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.8999, allocations: 19.69 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.8999, allocations: 2.906 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.9002, allocations: 78.44 kB / 1.102 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.9002, allocations: 5.438 kB / 1.102 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.9004, allocations: 28.7 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.9005, allocations: 51.05 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.9005, allocations: 0 / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9005, allocations: 1.375 kB / 1.102 GB, free: 18.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.9005, allocations: 0 / 1.102 GB, free: 18.59 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.0004305/0.9009, allocations: 343.8 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.901, allocations: 9.531 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.9012, allocations: 18.3 kB / 1.102 GB, free: 18.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9013, allocations: 170.2 kB / 1.103 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.9013, allocations: 1.406 kB / 1.103 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.9014, allocations: 7.594 kB / 1.103 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.9015, allocations: 50.16 kB / 1.103 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9015, allocations: 4 kB / 1.103 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.9016, allocations: 1 kB / 1.103 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9016, allocations: 1.344 kB / 1.103 GB, free: 17.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.788e-05/0.9016, allocations: 20.73 kB / 1.103 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.9018, allocations: 161.6 kB / 1.103 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.9019, allocations: 51.66 kB / 1.103 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.9019, allocations: 1.406 kB / 1.103 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.9019, allocations: 44.48 kB / 1.103 GB, free: 17.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.902, allocations: 0 / 1.103 GB, free: 17.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007195/0.9027, allocations: 375.6 kB / 1.103 GB, free: 17.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.9027, allocations: 56.48 kB / 1.103 GB, free: 17.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.9028, allocations: 98.95 kB / 1.103 GB, free: 17.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.9028, allocations: 30.42 kB / 1.103 GB, free: 17.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.9029, allocations: 85.23 kB / 1.104 GB, free: 17.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.9029, allocations: 38.34 kB / 1.104 GB, free: 17.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.9029, allocations: 0 / 1.104 GB, free: 17.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9031, allocations: 318.6 kB / 1.104 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.9031, allocations: 16.59 kB / 1.104 GB, free: 16.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.9032, allocations: 33.5 kB / 1.104 GB, free: 16.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.9032, allocations: 24.61 kB / 1.104 GB, free: 16.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.9032, allocations: 0 / 1.104 GB, free: 16.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000142/0.9034, allocations: 102.5 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9034, allocations: 7.391 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.9034, allocations: 0 / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9034, allocations: 1.031 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.9035, allocations: 25.59 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.9036, allocations: 1.375 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.9036, allocations: 5.141 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.9036, allocations: 2.875 kB / 1.104 GB, free: 16.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/0.9037, allocations: 122.3 kB / 1.104 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.9037, allocations: 5.984 kB / 1.104 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.9038, allocations: 10.22 kB / 1.104 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9038, allocations: 1.219 kB / 1.104 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9038, allocations: 1.438 kB / 1.104 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.9038, allocations: 0 / 1.104 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.9039, allocations: 170.1 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9039, allocations: 2.203 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.904, allocations: 23.2 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9041, allocations: 1.094 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.9041, allocations: 1.25 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.9041, allocations: 5.156 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9041, allocations: 1.969 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.9043, allocations: 139.8 kB / 1.105 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.9044, allocations: 83.89 kB / 1.105 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.9044, allocations: 8.281 kB / 1.105 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.9045, allocations: 2.156 kB / 1.105 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.9045, allocations: 5.219 kB / 1.105 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.9045, allocations: 13.03 kB / 1.105 GB, free: 16.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.9046, allocations: 76.34 kB / 1.105 GB, free: 16.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9046, allocations: 0 / 1.105 GB, free: 16.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002115/0.9048, allocations: 15.38 kB / 1.105 GB, free: 16.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.9049, allocations: 104.4 kB / 1.105 GB, free: 16.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.905, allocations: 57.69 kB / 1.105 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.905, allocations: 5.844 kB / 1.105 GB, free: 16.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.9051, allocations: 31.98 kB / 1.105 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.9053, allocations: 12.86 kB / 1.105 GB, free: 16.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.9058, allocations: 378.8 kB / 1.105 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9061, allocations: 0.6928 MB / 1.106 GB, free: 15.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.868e-05/0.9062, allocations: 10.67 kB / 1.106 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.9062, allocations: 12.19 kB / 1.106 GB, free: 15.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.9062, allocations: 0 / 1.106 GB, free: 15.11 MB / 0.698 GB Notification: Performance of Templates: time 0.002401/0.9086, allocations: 0.5816 MB / 1.107 GB, free: 15.04 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)