Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.2 kB / 16.36 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.283/1.283, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.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.001429/0.001429, allocations: 59.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1897, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries): time 1.348/1.538, allocations: 0.6989 GB / 1.484 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.7298/2.268, allocations: 137.1 MB / 1.618 GB, free: 2.203 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02313/2.291, allocations: 0.5948 MB / 1.618 GB, free: 2.203 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01401/2.305, allocations: 5.648 MB / 1.624 GB, free: 2.164 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:638:3-686:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanReal' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.scanReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function 'Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.03748/2.343, allocations: 15.02 MB / 1.638 GB, free: 1.57 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.02114/2.364, allocations: 9.941 MB / 1.648 GB, free: 1.406 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.07515/2.439, allocations: 33.42 MB / 1.681 GB, free: 332 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01755/2.456, allocations: 10.8 MB / 1.691 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02689/2.483, allocations: 12.25 MB / 1.703 GB, free: 14.1 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.014/2.497, allocations: 7.084 MB / 1.71 GB, free: 12.86 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.004319/2.502, allocations: 1.301 MB / 1.711 GB, free: 12.86 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02316/2.525, allocations: 9.981 MB / 1.721 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005656/2.531, allocations: 3.27 MB / 1.724 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.01283/2.544, allocations: 6.04 MB / 1.73 GB, free: 7.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.03462/2.578, allocations: 22.67 MB / 1.752 GB, free: 5.18 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.578, allocations: 0 / 1.752 GB, free: 5.18 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.004e-06/2.578, allocations: 4 kB / 1.752 GB, free: 5.176 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004976/2.579, allocations: 0 / 1.752 GB, free: 5.176 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.02648/2.605, allocations: 11.32 MB / 1.763 GB, free: 9.902 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/2.605, allocations: 8.031 kB / 1.763 GB, free: 9.895 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/2.618, allocations: 2.279 MB / 1.766 GB, free: 7.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/2.638, allocations: 10.28 MB / 1.776 GB, free: 13.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/2.639, allocations: 0.5812 MB / 1.776 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/2.64, allocations: 0.6197 MB / 1.777 GB, free: 12.37 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/2.656, allocations: 7.33 MB / 1.784 GB, free: 4.797 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/2.656, allocations: 13.84 kB / 1.784 GB, free: 4.793 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006697/2.657, allocations: 244.3 kB / 1.784 GB, free: 4.559 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/2.657, allocations: 222.7 kB / 1.784 GB, free: 4.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/2.672, allocations: 6.036 MB / 1.79 GB, free: 14.37 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0559/2.728, allocations: 37.45 MB / 1.827 GB, free: 7.699 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/2.738, allocations: 4.234 MB / 1.831 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004924/2.743, allocations: 2.097 MB / 1.833 GB, free: 1.305 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02179/2.765, allocations: 11.19 MB / 1.844 GB, free: 5.492 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005392/2.771, allocations: 2.346 MB / 1.846 GB, free: 3.094 MB / 1.232 GB Notification: Performance of pre-optimization done (n=301): time 9.668e-06/2.771, allocations: 0 / 1.846 GB, free: 3.094 MB / 1.232 GB Notification: Performance of matching and sorting (n=301): time 0.02161/2.792, allocations: 7.403 MB / 1.854 GB, free: 11.61 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/2.792, allocations: 276.5 kB / 1.854 GB, free: 11.29 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/2.805, allocations: 7.705 MB / 1.861 GB, free: 3.613 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0008662/2.806, allocations: 113.7 kB / 1.861 GB, free: 3.496 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.003864/2.81, allocations: 4.056 MB / 1.865 GB, free: 15.44 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/2.811, allocations: 1.031 MB / 1.866 GB, free: 14.42 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/2.813, allocations: 0.9953 MB / 1.867 GB, free: 13.41 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/2.813, allocations: 309.1 kB / 1.868 GB, free: 13.11 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/2.817, allocations: 2.076 MB / 1.87 GB, free: 11.01 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005796/2.823, allocations: 3.825 MB / 1.873 GB, free: 6.457 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009755/2.833, allocations: 5.539 MB / 1.879 GB, free: 476 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/2.833, allocations: 12 kB / 1.879 GB, free: 464 kB / 1.264 GB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01507/2.848, allocations: 6.782 MB / 1.885 GB, free: 9.891 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/2.848, allocations: 27.28 kB / 1.886 GB, free: 9.867 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.867e-05/2.848, allocations: 44 kB / 1.886 GB, free: 9.824 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/2.853, allocations: 0.9832 MB / 1.887 GB, free: 8.84 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/2.857, allocations: 1.054 MB / 1.888 GB, free: 7.852 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/2.861, allocations: 3.271 MB / 1.891 GB, free: 4.512 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006773/2.867, allocations: 0.71 MB / 1.891 GB, free: 3.801 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006478/2.868, allocations: 247.9 kB / 1.892 GB, free: 3.559 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008053/2.876, allocations: 3.879 MB / 1.895 GB, free: 15.67 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005928/2.882, allocations: 3.722 MB / 1.899 GB, free: 11.21 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009624/2.892, allocations: 5.346 MB / 1.904 GB, free: 5.418 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-05/2.892, allocations: 12 kB / 1.904 GB, free: 5.406 MB / 1.295 GB Notification: Performance of matching and sorting (n=585) (initialization_lambda0): time 0.01489/2.907, allocations: 6.486 MB / 1.911 GB, free: 15.14 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/2.907, allocations: 27.98 kB / 1.911 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.908e-05/2.907, allocations: 44.38 kB / 1.911 GB, free: 15.07 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/2.911, allocations: 0.8474 MB / 1.912 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/2.915, allocations: 1.011 MB / 1.913 GB, free: 13.28 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/2.918, allocations: 1.932 MB / 1.914 GB, free: 11.32 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006655/2.924, allocations: 0.5605 MB / 1.915 GB, free: 10.76 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006622/2.925, allocations: 235.9 kB / 1.915 GB, free: 10.53 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 196 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.bui.loa.nextTimeEvent,$whenCondition1,QAveHeaReq_flow.mode,$PRE.QAveHeaReq_flow.mode,$whenCondition2,QAveHeaAct_flow.mode,$PRE.QAveHeaAct_flow.mode,$whenCondition3,QAveCooReq_flow.mode,$PRE.QAveCooReq_flow.mode,$whenCondition4,QAveCooAct_flow.mode,$PRE.QAveCooAct_flow.mode,$whenCondition5,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset,bui.terUniCoo.hex.flowRegime_nominal,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.greThr.greHys.y,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,bui.terUniHea.greThr.greHys.y,$PRE.bui.terUniHea.greThr.greHys.y,bui.terUniHea.hex.flowRegime,bui.loa.nextTimeEventScaled,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEvent,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 529 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,22), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.00129/2.926, allocations: 0.4945 MB / 1.916 GB, free: 10.09 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002383/2.929, allocations: 0.787 MB / 1.916 GB, free: 9.297 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/2.941, allocations: 5.301 MB / 1.922 GB, free: 3.996 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008843/2.95, allocations: 4.132 MB / 1.926 GB, free: 15.77 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/2.95, allocations: 0 / 1.926 GB, free: 15.77 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/2.954, allocations: 1.545 MB / 1.927 GB, free: 14.19 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/2.956, allocations: 71.94 kB / 1.927 GB, free: 14.12 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00418/2.96, allocations: 283.5 kB / 1.928 GB, free: 13.84 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/2.96, allocations: 210.2 kB / 1.928 GB, free: 13.64 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01363/2.974, allocations: 5.395 MB / 1.933 GB, free: 8.266 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01523/2.989, allocations: 7.631 MB / 1.94 GB, free: 0.5703 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004144/2.994, allocations: 2.017 MB / 1.942 GB, free: 14.54 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.009153/3.003, allocations: 5.193 MB / 1.947 GB, free: 9.387 MB / 1.342 GB Notification: Performance of Backend: time 8.62e-07/3.003, allocations: 4 kB / 1.947 GB, free: 9.383 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02316/3.026, allocations: 9.024 MB / 1.956 GB, free: 1.148 MB / 1.342 GB Notification: Performance of SimCode: time 0.03707/3.063, allocations: 18.2 MB / 1.974 GB, free: 15.09 MB / 1.373 GB Notification: Performance of Templates: time 0.9092/3.972, allocations: 193.9 MB / 2.163 GB, free: 0.7467 GB / 1.451 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe 2>&1)