Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.0009153/0.0009153, allocations: 168 kB / 326.5 MB, free: 2.73 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.684/1.684, allocations: 205 MB / 0.5766 GB, free: 21.04 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.001072/0.001073, allocations: 84.73 kB / 0.6803 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003575, allocations: 9.656 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 105.4 MB / 0.8967 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001546/0.2409, allocations: 1.06 MB / 0.8978 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1625/0.4034, allocations: 145.8 MB / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.4036, allocations: 0 / 1.04 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.4037, allocations: 3.938 kB / 1.04 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.4038, allocations: 19.91 kB / 1.04 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4051, allocations: 294.9 kB / 1.04 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.4052, allocations: 83.8 kB / 1.041 GB, free: 424 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.4053, allocations: 8.266 kB / 1.041 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.4053, allocations: 31.86 kB / 1.041 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.4055, allocations: 35.84 kB / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.4055, allocations: 0 / 1.041 GB, free: 348 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.4066, allocations: 0.4947 MB / 1.041 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.4067, allocations: 19.91 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.4068, allocations: 23.94 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.4071, allocations: 115.7 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4071, allocations: 0 / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4071, allocations: 0 / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.4071, allocations: 4 kB / 1.041 GB, free: 15.68 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.0005493/0.4077, allocations: 363.5 kB / 1.042 GB, free: 15.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4077, allocations: 8.031 kB / 1.042 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004791/0.4082, allocations: 44.78 kB / 1.042 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4084, allocations: 164.4 kB / 1.042 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.4084, allocations: 15.81 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.4085, allocations: 8 kB / 1.042 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.4087, allocations: 85.58 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4087, allocations: 0 / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.4087, allocations: 0 / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4087, allocations: 4 kB / 1.042 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.4088, allocations: 43.95 kB / 1.042 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.4091, allocations: 189.4 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4093, allocations: 98.61 kB / 1.042 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.4093, allocations: 32.84 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.4096, allocations: 174.2 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.4097, allocations: 38.55 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.4097, allocations: 336 / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00138/0.4111, allocations: 0.5424 MB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4111, allocations: 55.41 kB / 1.043 GB, free: 13.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.4112, allocations: 105.8 kB / 1.043 GB, free: 13.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4112, allocations: 33.64 kB / 1.043 GB, free: 13.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.4113, allocations: 84.64 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.4113, allocations: 63.02 kB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.4114, allocations: 29.7 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4115, allocations: 318.8 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.491e-05/0.4116, allocations: 31.98 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.4117, allocations: 74.45 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.4119, allocations: 123.3 kB / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4119, allocations: 0 / 1.044 GB, free: 12.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002404/0.4121, allocations: 149.5 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4122, allocations: 4 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4122, allocations: 4 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4122, allocations: 3.938 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4124, allocations: 48.05 kB / 1.044 GB, free: 12.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4124, allocations: 3.984 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.4125, allocations: 7.938 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4125, allocations: 8 kB / 1.044 GB, free: 12.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.4126, allocations: 125.8 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.4126, allocations: 11.91 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.4127, allocations: 16.44 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4127, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4127, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4127, allocations: 7.938 kB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.4129, allocations: 185.6 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4129, allocations: 3.984 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.4131, allocations: 43.92 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4131, allocations: 4 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4132, allocations: 4 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4132, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4132, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4135, allocations: 208.9 kB / 1.045 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.4136, allocations: 96.98 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4136, allocations: 4.062 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4138, allocations: 4 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.4138, allocations: 19.92 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4138, allocations: 4 kB / 1.045 GB, free: 11.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.4139, allocations: 87.22 kB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.064e-06/0.4139, allocations: 0 / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002227/0.4141, allocations: 27.94 kB / 1.045 GB, free: 11.52 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 (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.0001696/0.4143, allocations: 107.2 kB / 1.045 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.4145, allocations: 112.8 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4145, allocations: 0 / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.4146, allocations: 49.47 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.4149, allocations: 19.98 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.4158, allocations: 0.5593 MB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4161, allocations: 0.7011 MB / 1.046 GB, free: 9.906 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.4161, allocations: 15.44 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/0.4161, allocations: 0 / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of Templates: time 0.003107/0.4192, allocations: 1.284 MB / 1.048 GB, free: 8.602 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)