Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001348, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 195.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.706/1.706, allocations: 251.7 MB / 0.5092 GB, free: 3.047 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.91 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4894, allocations: 104.7 MB / 0.7245 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002902/0.4923, allocations: 1.257 MB / 0.7257 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.4963, allocations: 3.271 MB / 0.7289 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.4964, allocations: 7.938 kB / 0.7289 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.4964, allocations: 3.984 kB / 0.7289 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.4965, allocations: 3.938 kB / 0.7289 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.497, allocations: 103.5 kB / 0.729 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.4971, allocations: 39.89 kB / 0.7291 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.4971, allocations: 4 kB / 0.7291 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.4972, allocations: 23.86 kB / 0.7291 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.4972, allocations: 15.98 kB / 0.7291 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.4972, allocations: 0 / 0.7291 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.4975, allocations: 79.75 kB / 0.7292 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.4975, allocations: 15.91 kB / 0.7292 GB, free: 8.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.4976, allocations: 12 kB / 0.7292 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.4978, allocations: 69.81 kB / 0.7293 GB, free: 7.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4978, allocations: 4 kB / 0.7293 GB, free: 7.973 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4978, allocations: 0 / 0.7293 GB, free: 7.973 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4978, allocations: 0 / 0.7293 GB, free: 7.973 MB / 0.545 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.0003986/0.4982, allocations: 347.5 kB / 0.7296 GB, free: 7.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4982, allocations: 12.02 kB / 0.7296 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.4983, allocations: 8.875 kB / 0.7296 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.4985, allocations: 168.3 kB / 0.7298 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.4985, allocations: 384 / 0.7298 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4985, allocations: 12.28 kB / 0.7298 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.4986, allocations: 53.8 kB / 0.7299 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4987, allocations: 0 / 0.7299 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4987, allocations: 0 / 0.7299 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4987, allocations: 0 / 0.7299 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.4987, allocations: 23.98 kB / 0.7299 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.4989, allocations: 169.6 kB / 0.73 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.499, allocations: 58.48 kB / 0.7301 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/0.4991, allocations: 16.84 kB / 0.7301 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.4998, allocations: 0.591 MB / 0.7307 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4998, allocations: 34.56 kB / 0.7307 GB, free: 6.227 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4998, allocations: 0 / 0.7307 GB, free: 6.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005737/0.5004, allocations: 302.1 kB / 0.731 GB, free: 5.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.5004, allocations: 55.41 kB / 0.7311 GB, free: 5.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.5005, allocations: 101.8 kB / 0.7312 GB, free: 5.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.5006, allocations: 29.7 kB / 0.7312 GB, free: 5.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.5006, allocations: 95.98 kB / 0.7313 GB, free: 5.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.5006, allocations: 23.77 kB / 0.7313 GB, free: 5.547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.5007, allocations: 25.72 kB / 0.7313 GB, free: 5.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5008, allocations: 322.8 kB / 0.7316 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.5008, allocations: 12 kB / 0.7317 GB, free: 5.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.5009, allocations: 57.52 kB / 0.7317 GB, free: 5.105 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.501, allocations: 73.08 kB / 0.7318 GB, free: 5.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.501, allocations: 0 / 0.7318 GB, free: 5.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001372/0.5011, allocations: 97.52 kB / 0.7319 GB, free: 4.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5012, allocations: 8 kB / 0.7319 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5012, allocations: 7.938 kB / 0.7319 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5012, allocations: 4 kB / 0.7319 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.5013, allocations: 16 kB / 0.7319 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5013, allocations: 3.938 kB / 0.7319 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.5013, allocations: 11.94 kB / 0.7319 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.5013, allocations: 4 kB / 0.7319 GB, free: 4.859 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.627e-05/0.5014, allocations: 125.7 kB / 0.732 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.5015, allocations: 4.062 kB / 0.732 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.5015, allocations: 11.97 kB / 0.7321 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5015, allocations: 0 / 0.7321 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5015, allocations: 0 / 0.7321 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.5015, allocations: 3.938 kB / 0.7321 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.5018, allocations: 169.7 kB / 0.7322 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5018, allocations: 0 / 0.7322 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/0.5019, allocations: 15.98 kB / 0.7322 GB, free: 4.469 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5019, allocations: 4 kB / 0.7322 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.5019, allocations: 4 kB / 0.7322 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5019, allocations: 4 kB / 0.7322 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5019, allocations: 0 / 0.7322 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.5021, allocations: 179.3 kB / 0.7324 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.5022, allocations: 81.11 kB / 0.7325 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.5022, allocations: 0 / 0.7325 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.5023, allocations: 4 kB / 0.7325 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5023, allocations: 3.984 kB / 0.7325 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.5023, allocations: 11.94 kB / 0.7325 GB, free: 4.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.5024, allocations: 83.66 kB / 0.7326 GB, free: 4.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5024, allocations: 0 / 0.7326 GB, free: 4.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002428/0.5026, allocations: 12 kB / 0.7326 GB, free: 4.055 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001119/0.5027, allocations: 107.4 kB / 0.7327 GB, free: 3.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.5029, allocations: 39.92 kB / 0.7327 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5029, allocations: 4.188 kB / 0.7328 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.703e-05/0.5029, allocations: 23.94 kB / 0.7328 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5032, allocations: 4 kB / 0.7328 GB, free: 3.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.5038, allocations: 334.2 kB / 0.7331 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5041, allocations: 0.6846 MB / 0.7338 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.365e-05/0.5041, allocations: 8 kB / 0.7338 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.5042, allocations: 11.44 kB / 0.7338 GB, free: 2.785 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.5042, allocations: 0 / 0.7338 GB, free: 2.785 MB / 0.545 GB Notification: Performance of Templates: time 0.002843/0.507, allocations: 0.6246 MB / 0.7344 GB, free: 2.164 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)