Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 170.2 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008769/0.0008769, allocations: 98.98 kB / 0.6833 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 7.125 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.04538/0.2847, allocations: 61.25 MB / 0.9613 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03175/0.3165, allocations: 19.42 MB / 0.9802 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004428/0.321, allocations: 79.44 kB / 0.9803 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004451/0.3255, allocations: 1.046 MB / 0.9813 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009557/0.3351, allocations: 2.513 MB / 0.9838 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.3459, allocations: 3.141 MB / 0.9869 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.3561, allocations: 6.657 MB / 0.9934 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.3599, allocations: 1.439 MB / 0.9948 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/0.3651, allocations: 1.82 MB / 0.9965 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003365/0.3685, allocations: 1.442 MB / 0.9979 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007522/0.3693, allocations: 76 kB / 0.998 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005659/0.375, allocations: 1.953 MB / 0.9999 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3761, allocations: 446 kB / 1 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002597/0.3787, allocations: 1.031 MB / 1.001 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.384, allocations: 2.825 MB / 1.004 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.384, allocations: 0 / 1.004 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.169e-06/0.3841, allocations: 3.984 kB / 1.004 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001293/0.3842, allocations: 3.938 kB / 1.004 GB, free: 6.031 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.006169/0.3904, allocations: 2.253 MB / 1.006 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3904, allocations: 8.031 kB / 1.006 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.3945, allocations: 0.7781 MB / 1.007 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/0.3993, allocations: 1.817 MB / 1.009 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005164/0.3998, allocations: 166.6 kB / 1.009 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.4004, allocations: 128 kB / 1.009 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.4053, allocations: 1.688 MB / 1.011 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.4053, allocations: 4 kB / 1.011 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.4056, allocations: 51.94 kB / 1.011 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.73e-05/0.4056, allocations: 39.88 kB / 1.011 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004562/0.4102, allocations: 1.503 MB / 1.012 GB, free: 13.35 MB / 0.6667 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.01624/0.4264, allocations: 8.85 MB / 1.021 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/0.4318, allocations: 1.48 MB / 1.022 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.4334, allocations: 0.5997 MB / 1.023 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005373/0.4388, allocations: 2.871 MB / 1.026 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.4406, allocations: 0.6511 MB / 1.026 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001071/0.4417, allocations: 183 kB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 6.502e-06/0.4417, allocations: 0 / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.004907/0.4466, allocations: 1.687 MB / 1.028 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.4468, allocations: 145.1 kB / 1.028 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.4498, allocations: 1.592 MB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.4499, allocations: 41.7 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009316/0.4508, allocations: 0.8963 MB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.4511, allocations: 236.6 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.4512, allocations: 20 kB / 1.031 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4514, allocations: 349.9 kB / 1.031 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4529, allocations: 0.5764 MB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.4548, allocations: 1.05 MB / 1.033 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.4581, allocations: 1.532 MB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.4582, allocations: 4 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004382/0.4626, allocations: 1.742 MB / 1.036 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000402/0.463, allocations: 483.9 kB / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/0.463, allocations: 16 kB / 1.037 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-05/0.4631, allocations: 16 kB / 1.037 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.4645, allocations: 339.5 kB / 1.037 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.745e-05/0.4646, allocations: 27.91 kB / 1.037 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4666, allocations: 196.4 kB / 1.037 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.4668, allocations: 59.97 kB / 1.037 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4668, allocations: 4 kB / 1.037 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003785/0.4706, allocations: 1.532 MB / 1.039 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.4706, allocations: 19.92 kB / 1.039 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.4706, allocations: 20 kB / 1.039 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.472, allocations: 327.7 kB / 1.039 GB, free: 232 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.674e-05/0.4721, allocations: 27.88 kB / 1.039 GB, free: 204 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/0.474, allocations: 200.3 kB / 1.039 GB, free: 4 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.4742, allocations: 59.98 kB / 1.039 GB, free: 15.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 0.001049/0.4753, allocations: 498.5 kB / 1.04 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.4758, allocations: 177.8 kB / 1.04 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.48, allocations: 1.514 MB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.48, allocations: 19.94 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.48, allocations: 3.938 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003089/0.4831, allocations: 1.402 MB / 1.043 GB, free: 12.27 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.007688/0.4908, allocations: 3.113 MB / 1.046 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.4909, allocations: 4 kB / 1.046 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.4921, allocations: 227.8 kB / 1.046 GB, free: 8.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.4921, allocations: 4 kB / 1.046 GB, free: 8.844 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.863e-05/0.4922, allocations: 27.97 kB / 1.046 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/0.4922, allocations: 4 kB / 1.046 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4922, allocations: 0 / 1.046 GB, free: 8.812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0054/0.4976, allocations: 2.186 MB / 1.048 GB, free: 6.598 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.4987, allocations: 378.6 kB / 1.049 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/0.4991, allocations: 20 kB / 1.049 GB, free: 6.188 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.5008, allocations: 171.8 kB / 1.049 GB, free: 6.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.501, allocations: 56.58 kB / 1.049 GB, free: 5.965 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.997e-05/0.5011, allocations: 31.97 kB / 1.049 GB, free: 5.934 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002207/0.5033, allocations: 1.067 MB / 1.05 GB, free: 4.844 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.613e-06/0.5033, allocations: 0 / 1.05 GB, free: 4.844 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004043/0.5074, allocations: 0.9784 MB / 1.051 GB, free: 3.863 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001681/0.5091, allocations: 0.5419 MB / 1.052 GB, free: 3.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005878/0.515, allocations: 2.324 MB / 1.054 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.515, allocations: 1.5 kB / 1.054 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.5167, allocations: 0.6362 MB / 1.054 GB, free: 336 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4528/0.9695, allocations: 0.7854 MB / 1.055 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.9806, allocations: 4.689 MB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.9818, allocations: 1.37 MB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/0.9825, allocations: 163.7 kB / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/0.9826, allocations: 0 / 1.061 GB, free: 143.2 MB / 0.698 GB Notification: Performance of Templates: time 0.07893/1.061, allocations: 32.77 MB / 1.093 GB, free: 129.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)