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.358/1.358, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001146/0.001145, allocations: 184.4 kB / 326.5 MB, free: 2.672 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.592/1.592, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007854/0.0007854, allocations: 90.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 13.28 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.03862/0.2216, allocations: 62.1 MB / 0.9574 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.2457, allocations: 19.64 MB / 0.9766 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/0.2489, allocations: 83.44 kB / 0.9766 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.2522, allocations: 1.057 MB / 0.9777 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007344/0.2595, allocations: 2.514 MB / 0.9801 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.008547/0.2681, allocations: 3.144 MB / 0.9832 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007945/0.2761, allocations: 6.661 MB / 0.9897 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.2783, allocations: 1.419 MB / 0.9911 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003625/0.282, allocations: 1.828 MB / 0.9929 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.2838, allocations: 1.443 MB / 0.9943 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.2841, allocations: 76 kB / 0.9944 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.2878, allocations: 1.969 MB / 0.9963 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004596/0.2882, allocations: 438.1 kB / 0.9967 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.2893, allocations: 0.9984 MB / 0.9977 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.2939, allocations: 3.668 MB / 1.001 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2939, allocations: 0 / 1.001 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2939, allocations: 7.938 kB / 1.001 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.705e-05/0.294, allocations: 0 / 1.001 GB, free: 8.785 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.004114/0.2981, allocations: 2.245 MB / 1.003 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.2981, allocations: 12.03 kB / 1.003 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.3018, allocations: 0.7742 MB / 1.004 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.305, allocations: 1.817 MB / 1.006 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.3054, allocations: 158.6 kB / 1.006 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.3056, allocations: 139.9 kB / 1.006 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.3088, allocations: 1.669 MB / 1.008 GB, free: 1.734 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3088, allocations: 7.938 kB / 1.008 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.3089, allocations: 51.94 kB / 1.008 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.309, allocations: 32 kB / 1.008 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/0.3125, allocations: 1.511 MB / 1.009 GB, free: 128 kB / 0.6511 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.01124/0.3238, allocations: 8.854 MB / 1.018 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/0.3286, allocations: 1.484 MB / 1.02 GB, free: 5.137 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.3301, allocations: 0.6008 MB / 1.02 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004381/0.3345, allocations: 2.867 MB / 1.023 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.3361, allocations: 0.6588 MB / 1.024 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006742/0.3368, allocations: 183 kB / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 3.116e-06/0.3368, allocations: 7.938 kB / 1.024 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.004344/0.3412, allocations: 1.68 MB / 1.025 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.3413, allocations: 137.1 kB / 1.026 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.3431, allocations: 1.592 MB / 1.027 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.908e-05/0.3432, allocations: 41.7 kB / 1.027 GB, free: 13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/0.3439, allocations: 0.8924 MB / 1.028 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3442, allocations: 248.5 kB / 1.028 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.3443, allocations: 97.66 kB / 1.028 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3444, allocations: 345.9 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.3459, allocations: 0.5764 MB / 1.029 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.3476, allocations: 1.05 MB / 1.03 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.3507, allocations: 1.532 MB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3507, allocations: 4 kB / 1.032 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003944/0.3547, allocations: 1.743 MB / 1.033 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.355, allocations: 489.9 kB / 1.034 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.355, allocations: 16 kB / 1.034 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.188e-05/0.355, allocations: 23.98 kB / 1.034 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.3563, allocations: 331.5 kB / 1.034 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.3564, allocations: 31.86 kB / 1.034 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.358, allocations: 200.4 kB / 1.035 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3581, allocations: 55.98 kB / 1.035 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-06/0.3581, allocations: 4 kB / 1.035 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003394/0.3615, allocations: 1.536 MB / 1.036 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3615, allocations: 12 kB / 1.036 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3616, allocations: 20 kB / 1.036 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3628, allocations: 332.1 kB / 1.036 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.3628, allocations: 27.92 kB / 1.036 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.3645, allocations: 194.2 kB / 1.037 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.853e-05/0.3646, allocations: 63.97 kB / 1.037 GB, free: 2.621 MB / 0.6823 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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.0008744/0.3655, allocations: 0.4928 MB / 1.037 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.3657, allocations: 177.8 kB / 1.037 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.3693, allocations: 1.512 MB / 1.039 GB, free: 448 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002862/0.3722, allocations: 1.391 MB / 1.04 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.3722, allocations: 7.938 kB / 1.04 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/0.3727, allocations: 374.6 kB / 1.041 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.373, allocations: 12 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.3741, allocations: 171.7 kB / 1.041 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3743, allocations: 52.59 kB / 1.041 GB, free: 14.35 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003897/0.3782, allocations: 1.479 MB / 1.042 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004791/0.383, allocations: 2.279 MB / 1.044 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001405/0.3844, allocations: 0.6144 MB / 1.045 GB, free: 9.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001493/0.3859, allocations: 1.067 MB / 1.046 GB, free: 8.863 MB / 0.698 GB Notification: Performance of Backend: time 2.014e-06/0.3859, allocations: 4 kB / 1.046 GB, free: 8.859 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005977/0.3919, allocations: 2.458 MB / 1.048 GB, free: 6.379 MB / 0.698 GB Notification: Performance of SimCode: time 0.006998/0.3989, allocations: 4.699 MB / 1.053 GB, free: 1.633 MB / 0.698 GB Notification: Performance of Templates: time 0.4071/0.806, allocations: 42.3 MB / 1.094 GB, free: 129.7 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)