Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.00109/0.00109, allocations: 182 kB / 371.8 MB, free: 10.27 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.732/1.732, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0008543/0.0008545, allocations: 98.84 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004126, allocations: 9.906 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00133/0.2388, allocations: 1.016 MB / 0.9804 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8175/1.056, allocations: 125.2 MB / 1.103 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/1.056, allocations: 1.125 kB / 1.103 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/1.057, allocations: 2.156 kB / 1.103 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.67e-05/1.057, allocations: 15.53 kB / 1.103 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008059/1.057, allocations: 239.8 kB / 1.103 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.045e-05/1.058, allocations: 35.36 kB / 1.103 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/1.058, allocations: 6.156 kB / 1.103 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/1.058, allocations: 32.06 kB / 1.103 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/1.058, allocations: 31.81 kB / 1.103 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/1.058, allocations: 4.25 kB / 1.103 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/1.059, allocations: 282.1 kB / 1.103 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/1.059, allocations: 12.89 kB / 1.103 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/1.059, allocations: 43.05 kB / 1.103 GB, free: 18.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/1.059, allocations: 96.55 kB / 1.103 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/1.059, allocations: 1.75 kB / 1.103 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.059, allocations: 1.438 kB / 1.103 GB, free: 18.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.31e-06/1.059, allocations: 0 / 1.103 GB, free: 18.52 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004945/1.06, allocations: 375.2 kB / 1.104 GB, free: 18.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.06, allocations: 12.33 kB / 1.104 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004387/1.06, allocations: 41.95 kB / 1.104 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/1.06, allocations: 167.9 kB / 1.104 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.06, allocations: 5.719 kB / 1.104 GB, free: 17.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/1.06, allocations: 13.5 kB / 1.104 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.06, allocations: 77.88 kB / 1.104 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.06, allocations: 1.859 kB / 1.104 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/1.06, allocations: 3.969 kB / 1.104 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1.06, allocations: 2.312 kB / 1.104 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.061, allocations: 46.06 kB / 1.104 GB, free: 17.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/1.061, allocations: 180.1 kB / 1.104 GB, free: 17.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/1.061, allocations: 99.38 kB / 1.104 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/1.061, allocations: 8.078 kB / 1.104 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/1.061, allocations: 36 kB / 1.104 GB, free: 17.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/1.061, allocations: 0 / 1.104 GB, free: 17.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001408/1.063, allocations: 0.5353 MB / 1.105 GB, free: 17.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.063, allocations: 58.09 kB / 1.105 GB, free: 17.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/1.063, allocations: 100.2 kB / 1.105 GB, free: 17.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/1.063, allocations: 30.7 kB / 1.105 GB, free: 17.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/1.063, allocations: 87.45 kB / 1.105 GB, free: 17.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/1.063, allocations: 69.25 kB / 1.105 GB, free: 17.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/1.063, allocations: 3.25 kB / 1.105 GB, free: 17.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.063, allocations: 320.6 kB / 1.106 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/1.063, allocations: 33.27 kB / 1.106 GB, free: 16.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/1.063, allocations: 67.22 kB / 1.106 GB, free: 16.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/1.063, allocations: 43.98 kB / 1.106 GB, free: 16.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/1.063, allocations: 2.797 kB / 1.106 GB, free: 16.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002811/1.064, allocations: 160.3 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.064, allocations: 5.406 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.064, allocations: 1.094 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.064, allocations: 7 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/1.064, allocations: 33.05 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.064, allocations: 3.578 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/1.064, allocations: 5.406 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/1.064, allocations: 11.42 kB / 1.106 GB, free: 16.64 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001158/1.064, allocations: 127 kB / 1.106 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/1.064, allocations: 12 kB / 1.106 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/1.064, allocations: 19.38 kB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.064, allocations: 2.125 kB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/1.064, allocations: 1.188 kB / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.064, allocations: 0 / 1.106 GB, free: 16.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/1.064, allocations: 197.6 kB / 1.106 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.065, allocations: 0 / 1.106 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/1.065, allocations: 42.98 kB / 1.106 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.065, allocations: 1.125 kB / 1.106 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.065, allocations: 8.406 kB / 1.106 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.065, allocations: 0.9375 kB / 1.106 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.065, allocations: 0.7812 kB / 1.106 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/1.065, allocations: 203.4 kB / 1.107 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.065, allocations: 94.7 kB / 1.107 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/1.065, allocations: 8.078 kB / 1.107 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.065, allocations: 9.016 kB / 1.107 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/1.065, allocations: 20.55 kB / 1.107 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.065, allocations: 9.203 kB / 1.107 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.846e-05/1.066, allocations: 77.25 kB / 1.107 GB, free: 16.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 1.281 kB / 1.107 GB, free: 16.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002222/1.066, allocations: 27.16 kB / 1.107 GB, free: 16.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001732/1.066, allocations: 101.8 kB / 1.107 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002674/1.066, allocations: 108.1 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.066, allocations: 1.031 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.18e-05/1.066, allocations: 56.22 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.067, allocations: 16.59 kB / 1.107 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/1.068, allocations: 0.6174 MB / 1.108 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.068, allocations: 0.7023 MB / 1.108 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001397/1.068, allocations: 28.44 kB / 1.108 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/1.068, allocations: 17.88 kB / 1.108 GB, free: 14.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.068, allocations: 0 / 1.108 GB, free: 14.8 MB / 0.698 GB Notification: Performance of Templates: time 0.004113/1.072, allocations: 1.014 MB / 1.109 GB, free: 14.71 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)