Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EnergyTransferStations.Heating.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct") translateModel(Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaETS.senTDisSup.T|heaETS.senTBuiSup.T|heaETS.senTBuiRet.T|heaETS.senTDisRet.T|heaETS.port_aSerHea.m_flow|heaETS.ports_aHeaWat.1..m_flow|heaETS.cheVal.m_flow|heaETS.conVal.y|heaETS.Q_flow|heaETS.Q",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.002029/0.002029, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 71.83 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8944/0.8961, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct): time 0.1659/1.062, allocations: 155.3 MB / 1.319 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05598/1.118, allocations: 34.23 MB / 1.352 GB, free: 5.707 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00801/1.126, allocations: 167.1 kB / 1.353 GB, free: 5.543 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01075/1.137, allocations: 3.057 MB / 1.356 GB, free: 2.477 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01808/1.155, allocations: 5.714 MB / 1.361 GB, free: 12.74 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01228/1.167, allocations: 4.423 MB / 1.365 GB, free: 8.348 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02195/1.189, allocations: 13.57 MB / 1.379 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00777/1.197, allocations: 3.651 MB / 1.382 GB, free: 7.027 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/1.209, allocations: 4.417 MB / 1.387 GB, free: 2.605 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006103/1.215, allocations: 2.96 MB / 1.389 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001845/1.217, allocations: 404 kB / 1.39 GB, free: 15.24 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008605/1.226, allocations: 2.937 MB / 1.393 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00228/1.228, allocations: 1.172 MB / 1.394 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005654/1.234, allocations: 2.399 MB / 1.396 GB, free: 8.711 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/1.251, allocations: 7.583 MB / 1.404 GB, free: 1.102 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.251, allocations: 0 / 1.404 GB, free: 1.102 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/1.251, allocations: 0 / 1.404 GB, free: 1.102 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000274/1.251, allocations: 4 kB / 1.404 GB, free: 1.098 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01481/1.266, allocations: 5.134 MB / 1.409 GB, free: 11.87 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.266, allocations: 12.58 kB / 1.409 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/1.269, allocations: 0.6061 MB / 1.409 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.28, allocations: 4.709 MB / 1.414 GB, free: 6.484 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/1.281, allocations: 176.4 kB / 1.414 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009235/1.282, allocations: 243.9 kB / 1.414 GB, free: 6.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007021/1.289, allocations: 2.47 MB / 1.417 GB, free: 3.457 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-05/1.289, allocations: 15.89 kB / 1.417 GB, free: 3.441 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004651/1.289, allocations: 92 kB / 1.417 GB, free: 3.352 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.289, allocations: 92.16 kB / 1.417 GB, free: 3.258 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005013/1.294, allocations: 1.84 MB / 1.419 GB, free: 1.402 MB / 1.139 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.02177/1.316, allocations: 13.22 MB / 1.432 GB, free: 3.277 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/1.319, allocations: 1.221 MB / 1.433 GB, free: 2.035 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/1.32, allocations: 0.6678 MB / 1.433 GB, free: 1.367 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009188/1.33, allocations: 4.238 MB / 1.437 GB, free: 12.74 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/1.331, allocations: 0.7232 MB / 1.438 GB, free: 11.99 MB / 1.17 GB Notification: Performance of pre-optimization done (n=123): time 5.31e-06/1.331, allocations: 0 / 1.438 GB, free: 11.99 MB / 1.17 GB Notification: Performance of matching and sorting (n=123): time 0.006503/1.338, allocations: 2.182 MB / 1.44 GB, free: 9.785 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/1.338, allocations: 119.8 kB / 1.44 GB, free: 9.645 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007823/1.346, allocations: 3.521 MB / 1.444 GB, free: 6.094 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.346, allocations: 61.7 kB / 1.444 GB, free: 6.027 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/1.349, allocations: 1.778 MB / 1.446 GB, free: 4.238 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008363/1.349, allocations: 476 kB / 1.446 GB, free: 3.77 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/1.351, allocations: 475.8 kB / 1.447 GB, free: 3.297 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.351, allocations: 309.1 kB / 1.447 GB, free: 2.992 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/1.352, allocations: 0.7474 MB / 1.448 GB, free: 2.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.355, allocations: 1.393 MB / 1.449 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/1.358, allocations: 2.026 MB / 1.451 GB, free: 14.35 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/1.358, allocations: 4 kB / 1.451 GB, free: 14.35 MB / 1.186 GB Notification: Performance of matching and sorting (n=287) (initialization): time 0.00621/1.365, allocations: 2.595 MB / 1.453 GB, free: 11.74 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/1.365, allocations: 12 kB / 1.454 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.074e-05/1.365, allocations: 16 kB / 1.454 GB, free: 11.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/1.365, allocations: 132.6 kB / 1.454 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.367, allocations: 447.3 kB / 1.454 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007649/1.368, allocations: 0.6538 MB / 1.455 GB, free: 10.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/1.371, allocations: 278.2 kB / 1.455 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003002/1.371, allocations: 91.98 kB / 1.455 GB, free: 10.1 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003446/1.375, allocations: 1.453 MB / 1.456 GB, free: 8.637 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002146/1.377, allocations: 1.359 MB / 1.458 GB, free: 7.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003318/1.38, allocations: 1.994 MB / 1.46 GB, free: 4.82 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.74e-05/1.38, allocations: 4 kB / 1.46 GB, free: 4.816 MB / 1.186 GB Notification: Performance of matching and sorting (n=287) (initialization_lambda0): time 0.005899/1.386, allocations: 2.536 MB / 1.462 GB, free: 2.266 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.386, allocations: 12 kB / 1.462 GB, free: 2.254 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.386, allocations: 16 kB / 1.462 GB, free: 2.238 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/1.387, allocations: 68.83 kB / 1.462 GB, free: 2.168 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.388, allocations: 451.3 kB / 1.463 GB, free: 1.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.39, allocations: 1.741 MB / 1.464 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/1.394, allocations: 215.5 kB / 1.465 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003125/1.394, allocations: 91.97 kB / 1.465 GB, free: 15.55 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.int.local_reset,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 244 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007075/1.395, allocations: 307.6 kB / 1.465 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.396, allocations: 377.5 kB / 1.465 GB, free: 14.87 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/1.401, allocations: 1.879 MB / 1.467 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/1.403, allocations: 1.249 MB / 1.468 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.403, allocations: 3.938 kB / 1.468 GB, free: 11.72 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/1.405, allocations: 0.6465 MB / 1.469 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.406, allocations: 28 kB / 1.469 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.408, allocations: 79.86 kB / 1.469 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.409, allocations: 85.19 kB / 1.469 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004259/1.413, allocations: 1.758 MB / 1.471 GB, free: 9.09 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005082/1.418, allocations: 2.704 MB / 1.474 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001178/1.419, allocations: 0.6661 MB / 1.474 GB, free: 5.699 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005/1.424, allocations: 2.345 MB / 1.477 GB, free: 3.348 MB / 1.201 GB Notification: Performance of Backend: time 8.72e-07/1.424, allocations: 0 / 1.477 GB, free: 3.348 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.436, allocations: 3.956 MB / 1.48 GB, free: 15.52 MB / 1.217 GB Notification: Performance of SimCode: time 0.01929/1.455, allocations: 8.292 MB / 1.489 GB, free: 7.219 MB / 1.217 GB Notification: Performance of Templates: time 0.8643/2.32, allocations: 77.89 MB / 1.565 GB, free: 377.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.sim & ./Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.EnergyTransferStations.Heating.Examples.Direct.pipe 2>&1)