Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4965/0.4975, allocations: 82.2 MB / 0.5935 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001585/0.4992, allocations: 0.9795 MB / 0.5944 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.5025, allocations: 3.05 MB / 0.5974 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.5026, allocations: 0 / 0.5974 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.5026, allocations: 7.922 kB / 0.5974 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.5027, allocations: 0 / 0.5974 GB, free: 17.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.5033, allocations: 81.88 kB / 0.5975 GB, free: 17.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.5034, allocations: 39.84 kB / 0.5975 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.956e-05/0.5035, allocations: 4 kB / 0.5975 GB, free: 17.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.5035, allocations: 15.98 kB / 0.5975 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.5036, allocations: 15.92 kB / 0.5975 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.5036, allocations: 0.5 kB / 0.5975 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.5039, allocations: 57.17 kB / 0.5976 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.5039, allocations: 7.984 kB / 0.5976 GB, free: 17.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.5039, allocations: 29.7 kB / 0.5976 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.5041, allocations: 38.48 kB / 0.5977 GB, free: 17.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5041, allocations: 0.5625 kB / 0.5977 GB, free: 17.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5041, allocations: 4.969 kB / 0.5977 GB, free: 17.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5041, allocations: 0 / 0.5977 GB, free: 17.21 MB / 446.1 MB 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.0004193/0.5045, allocations: 341 kB / 0.598 GB, free: 16.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5046, allocations: 8.031 kB / 0.598 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.5047, allocations: 4 kB / 0.598 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.5049, allocations: 168.8 kB / 0.5982 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5049, allocations: 7.938 kB / 0.5982 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.5049, allocations: 7.984 kB / 0.5982 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5051, allocations: 53.67 kB / 0.5982 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5051, allocations: 0 / 0.5982 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.5051, allocations: 5.266 kB / 0.5982 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5051, allocations: 0 / 0.5982 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.5052, allocations: 27.86 kB / 0.5983 GB, free: 16.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.5054, allocations: 166.2 kB / 0.5984 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.675e-05/0.5055, allocations: 52.02 kB / 0.5985 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.5055, allocations: 16.86 kB / 0.5985 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.5062, allocations: 0.5926 MB / 0.5991 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.5062, allocations: 35.27 kB / 0.5991 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.5062, allocations: 1.188 kB / 0.5991 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005433/0.5067, allocations: 299.9 kB / 0.5994 GB, free: 15.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.5068, allocations: 59.36 kB / 0.5995 GB, free: 15.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.5069, allocations: 97.86 kB / 0.5995 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.5069, allocations: 26.67 kB / 0.5996 GB, free: 14.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.5069, allocations: 95.97 kB / 0.5997 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.5069, allocations: 24.81 kB / 0.5997 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5069, allocations: 0 / 0.5997 GB, free: 14.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.507, allocations: 315.4 kB / 0.6 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.5071, allocations: 12 kB / 0.6 GB, free: 14.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.5071, allocations: 59.94 kB / 0.6001 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.5071, allocations: 24.11 kB / 0.6001 GB, free: 14.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5072, allocations: 4.625 kB / 0.6001 GB, free: 14.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001197/0.5073, allocations: 94.64 kB / 0.6002 GB, free: 14.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.5073, allocations: 11.12 kB / 0.6002 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5073, allocations: 0 / 0.6002 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5073, allocations: 4 kB / 0.6002 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.5074, allocations: 19.98 kB / 0.6002 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5074, allocations: 3.953 kB / 0.6002 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.5075, allocations: 8 kB / 0.6002 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5075, allocations: 8.078 kB / 0.6002 GB, free: 14.23 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.5075, allocations: 121.8 kB / 0.6003 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.5076, allocations: 7.906 kB / 0.6003 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.5076, allocations: 11.95 kB / 0.6004 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5076, allocations: 4 kB / 0.6004 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5076, allocations: 0 / 0.6004 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.5076, allocations: 3.953 kB / 0.6004 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.5078, allocations: 173.7 kB / 0.6005 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5078, allocations: 0 / 0.6005 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.5079, allocations: 12 kB / 0.6005 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5079, allocations: 0 / 0.6005 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.5079, allocations: 4 kB / 0.6005 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.508, allocations: 7.984 kB / 0.6006 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.508, allocations: 0 / 0.6006 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.5081, allocations: 179.4 kB / 0.6007 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.5081, allocations: 89.05 kB / 0.6008 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.5082, allocations: 0 / 0.6008 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.5083, allocations: 4 kB / 0.6008 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.5083, allocations: 3.984 kB / 0.6008 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.5083, allocations: 12.44 kB / 0.6008 GB, free: 13.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.264e-05/0.5083, allocations: 75.28 kB / 0.6009 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5083, allocations: 0 / 0.6009 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.5086, allocations: 12 kB / 0.6009 GB, free: 13.42 MB / 446.1 MB 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 (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.0001037/0.5087, allocations: 99.28 kB / 0.601 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.5088, allocations: 39.92 kB / 0.601 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5088, allocations: 4.25 kB / 0.6011 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.5088, allocations: 23.91 kB / 0.6011 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5091, allocations: 14.48 kB / 0.6011 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.5096, allocations: 390.8 kB / 0.6015 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.5097, allocations: 0.6887 MB / 0.6021 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.225e-05/0.5098, allocations: 8 kB / 0.6021 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.5098, allocations: 11.44 kB / 0.6022 GB, free: 12.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5098, allocations: 0 / 0.6022 GB, free: 12.1 MB / 446.1 MB Notification: Performance of Templates: time 0.002963/0.5128, allocations: 0.5586 MB / 0.6027 GB, free: 11.54 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: