Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.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.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.001011/0.001011, allocations: 184.5 kB / 372.9 MB, free: 10.12 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.32/1.32, allocations: 205.4 MB / 0.6316 GB, free: 9.867 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.000743/0.000743, allocations: 94.23 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 19.27 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1633, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries): time 1.521/1.684, allocations: 0.643 GB / 1.624 GB, free: 37.64 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.164/1.848, allocations: 128.9 MB / 1.75 GB, free: 14.71 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02355/1.872, allocations: 0.5121 MB / 1.75 GB, free: 14.2 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.01452/1.886, allocations: 3.668 MB / 1.754 GB, free: 10.51 MB / 1.026 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.03779/1.924, allocations: 11.95 MB / 1.765 GB, free: 14.51 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.02133/1.946, allocations: 6.325 MB / 1.772 GB, free: 8.238 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.1062/2.052, allocations: 36.69 MB / 1.807 GB, free: 4.32 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/2.071, allocations: 8.442 MB / 1.816 GB, free: 11.77 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0228/2.094, allocations: 9.393 MB / 1.825 GB, free: 2.34 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/2.106, allocations: 6.257 MB / 1.831 GB, free: 12.05 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.003141/2.109, allocations: 352 kB / 1.831 GB, free: 11.71 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02123/2.131, allocations: 9.248 MB / 1.84 GB, free: 2.441 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.004719/2.135, allocations: 2.206 MB / 1.842 GB, free: 232 kB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.01061/2.146, allocations: 4.722 MB / 1.847 GB, free: 11.47 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.7448/2.891, allocations: 18.15 MB / 1.865 GB, free: 54.31 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.891, allocations: 0.7188 kB / 1.865 GB, free: 54.31 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.325e-06/2.891, allocations: 0 / 1.865 GB, free: 54.31 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.0007144/2.892, allocations: 0.5312 kB / 1.865 GB, free: 54.31 MB / 1.12 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.02888/2.921, allocations: 9.221 MB / 1.874 GB, free: 50.87 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/2.921, allocations: 8.531 kB / 1.874 GB, free: 50.87 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/2.935, allocations: 2.38 MB / 1.876 GB, free: 50.33 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02498/2.96, allocations: 10.04 MB / 1.886 GB, free: 48.88 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002997/2.964, allocations: 0.9701 MB / 1.887 GB, free: 48.71 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/2.967, allocations: 0.6147 MB / 1.888 GB, free: 48.7 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0243/2.991, allocations: 7.354 MB / 1.895 GB, free: 47.91 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001842/2.991, allocations: 11.09 kB / 1.895 GB, free: 47.91 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/2.993, allocations: 242.8 kB / 1.895 GB, free: 47.91 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/2.993, allocations: 225.1 kB / 1.895 GB, free: 47.9 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/3.011, allocations: 6.313 MB / 1.901 GB, free: 47.79 MB / 1.12 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.06031/3.071, allocations: 36.97 MB / 1.937 GB, free: 32.66 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/3.082, allocations: 4.422 MB / 1.942 GB, free: 32.31 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00505/3.087, allocations: 2.245 MB / 1.944 GB, free: 32.25 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02017/3.107, allocations: 11.43 MB / 1.955 GB, free: 28.32 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00496/3.112, allocations: 2.537 MB / 1.958 GB, free: 28.13 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004598/3.117, allocations: 0.5276 MB / 1.958 GB, free: 27.92 MB / 1.12 GB Notification: Performance of pre-optimization done (n=313): time 2.051e-05/3.117, allocations: 0 / 1.958 GB, free: 27.92 MB / 1.12 GB Notification: Performance of matching and sorting (n=313): time 0.02372/3.14, allocations: 8.233 MB / 1.966 GB, free: 26.98 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/3.14, allocations: 272.8 kB / 1.966 GB, free: 26.69 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/3.153, allocations: 7.602 MB / 1.974 GB, free: 26.13 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/3.154, allocations: 117.8 kB / 1.974 GB, free: 26.1 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.004007/3.158, allocations: 4.028 MB / 1.978 GB, free: 25.03 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/3.16, allocations: 1.066 MB / 1.979 GB, free: 24.35 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003396/3.16, allocations: 91.84 kB / 1.979 GB, free: 24.35 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002238/3.16, allocations: 480 kB / 1.979 GB, free: 24.04 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004858/3.165, allocations: 2.12 MB / 1.981 GB, free: 23.99 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005812/3.171, allocations: 3.858 MB / 1.985 GB, free: 22.02 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/3.181, allocations: 5.579 MB / 1.991 GB, free: 20.36 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.913e-05/3.182, allocations: 9.625 kB / 1.991 GB, free: 20.36 MB / 1.12 GB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01826/3.2, allocations: 6.859 MB / 1.997 GB, free: 19.71 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.000964/3.201, allocations: 1.321 MB / 1.999 GB, free: 18.06 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/3.201, allocations: 42.81 kB / 1.999 GB, free: 18.06 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004672/3.206, allocations: 1.035 MB / 2 GB, free: 18.01 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005857/3.212, allocations: 1.101 MB / 2.001 GB, free: 17.99 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/3.215, allocations: 3.404 MB / 2.004 GB, free: 15.74 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009495/3.225, allocations: 0.6929 MB / 2.005 GB, free: 15.66 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/3.226, allocations: 245.7 kB / 2.005 GB, free: 15.66 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/3.226, allocations: 3.312 kB / 2.005 GB, free: 15.66 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01556/3.241, allocations: 5.835 MB / 2.011 GB, free: 15.47 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/3.242, allocations: 43.56 kB / 2.011 GB, free: 15.47 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004291/3.246, allocations: 0.9426 MB / 2.012 GB, free: 15.42 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005316/3.251, allocations: 1.042 MB / 2.013 GB, free: 15.41 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/3.254, allocations: 1.974 MB / 2.015 GB, free: 14.34 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/3.265, allocations: 0.6634 MB / 2.015 GB, free: 14.27 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/3.267, allocations: 234.1 kB / 2.016 GB, free: 14.27 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 184 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$PRE.bui.loa.nextTimeEvent,$whenCondition2,$PRE.QAveHeaReq_flow.mode,QAveHeaReq_flow.mode,$whenCondition3,$PRE.QAveHeaAct_flow.mode,QAveHeaAct_flow.mode,$whenCondition4,$PRE.QAveCooReq_flow.mode,QAveCooReq_flow.mode,$whenCondition5,$PRE.QAveCooAct_flow.mode,QAveCooAct_flow.mode,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,$whenCondition7,$whenCondition6,bui.loa.nextTimeEvent,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEventScaled,bui.terUniHea.hex.flowRegime,$PRE.bui.terUniHea.greThr.greHys.y,bui.terUniHea.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.greThr.greHys.y,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.hex.flowRegime_nominal,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 24,1 24} Notification: Performance of prepare postOptimizeDAE: time 0.00902/3.276, allocations: 2.261 MB / 2.018 GB, free: 14.04 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003798/3.28, allocations: 0.7758 MB / 2.019 GB, free: 13.62 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/3.297, allocations: 5.644 MB / 2.024 GB, free: 12.52 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00909/3.306, allocations: 4.46 MB / 2.028 GB, free: 11.48 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/3.306, allocations: 3.719 kB / 2.028 GB, free: 11.48 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005172/3.311, allocations: 1.585 MB / 2.03 GB, free: 10.74 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002754/3.314, allocations: 70.19 kB / 2.03 GB, free: 10.74 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006894/3.321, allocations: 0.5457 MB / 2.031 GB, free: 10.55 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006024/3.322, allocations: 227.4 kB / 2.031 GB, free: 10.46 MB / 1.12 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01517/3.337, allocations: 5.865 MB / 2.036 GB, free: 8.582 MB / 1.12 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01723/3.354, allocations: 8.101 MB / 2.044 GB, free: 2.879 MB / 1.12 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004493/3.359, allocations: 2.163 MB / 2.047 GB, free: 1.496 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01053/3.369, allocations: 5.102 MB / 2.051 GB, free: 14.15 MB / 1.135 GB Notification: Performance of Backend: time 1.383e-06/3.369, allocations: 0 / 2.051 GB, free: 14.15 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.03303/3.402, allocations: 9.237 MB / 2.061 GB, free: 7.621 MB / 1.135 GB Notification: Performance of SimCode: time 0.05249/3.455, allocations: 20.66 MB / 2.081 GB, free: 4.949 MB / 1.151 GB Notification: Performance of Templates: time 0.32/3.775, allocations: 194.1 MB / 2.27 GB, free: 4.703 MB / 1.339 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.pipe 2>&1)