Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.125/2.125, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 177.4 kB / 325.8 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.422/2.422, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009233/0.0009228, allocations: 100 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 13.78 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2133, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.0681/0.2814, allocations: 57.91 MB / 0.9556 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03699/0.3185, allocations: 18.02 MB / 0.9732 GB, free: 5.289 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.3218, allocations: 79.44 kB / 0.9733 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004482/0.3263, allocations: 0.8269 MB / 0.9741 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009334/0.3357, allocations: 2.165 MB / 0.9762 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.3478, allocations: 2.682 MB / 0.9788 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01099/0.3588, allocations: 5.759 MB / 0.9844 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003641/0.3625, allocations: 1.4 MB / 0.9858 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/0.3681, allocations: 1.715 MB / 0.9875 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.3717, allocations: 1.353 MB / 0.9888 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.3724, allocations: 76 kB / 0.9889 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.3783, allocations: 1.575 MB / 0.9904 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/0.3796, allocations: 430.1 kB / 0.9908 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.3808, allocations: 448.6 kB / 0.9912 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.3871, allocations: 2.755 MB / 0.9939 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3872, allocations: 4 kB / 0.9939 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3872, allocations: 0 / 0.9939 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.578e-05/0.3873, allocations: 0 / 0.9939 GB, free: 15.98 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.007575/0.3949, allocations: 2.28 MB / 0.9962 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.395, allocations: 8.031 kB / 0.9962 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007026/0.402, allocations: 0.7781 MB / 0.9969 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/0.4075, allocations: 1.741 MB / 0.9986 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007062/0.4083, allocations: 170.6 kB / 0.9988 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/0.4087, allocations: 131.9 kB / 0.9989 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005756/0.4144, allocations: 1.665 MB / 1.001 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/0.4145, allocations: 7.938 kB / 1.001 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.4148, allocations: 51.94 kB / 1.001 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.4148, allocations: 32 kB / 1.001 GB, free: 8.883 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007097/0.4219, allocations: 1.503 MB / 1.002 GB, free: 7.371 MB / 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.02004/0.442, allocations: 8.846 MB / 1.011 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/0.4516, allocations: 1.483 MB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.4547, allocations: 0.6044 MB / 1.013 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007576/0.4623, allocations: 2.852 MB / 1.016 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003088/0.4655, allocations: 0.6588 MB / 1.016 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/0.4668, allocations: 183.1 kB / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 4.468e-06/0.4669, allocations: 0 / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.009053/0.4759, allocations: 1.68 MB / 1.018 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.4761, allocations: 137.1 kB / 1.018 GB, free: 5.965 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.4802, allocations: 1.58 MB / 1.02 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.4806, allocations: 45.69 kB / 1.02 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4826, allocations: 0.8885 MB / 1.021 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.4834, allocations: 244.5 kB / 1.021 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4837, allocations: 20 kB / 1.021 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000327/0.484, allocations: 349.9 kB / 1.021 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004674/0.4887, allocations: 0.5569 MB / 1.022 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005353/0.4941, allocations: 1.026 MB / 1.023 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/0.4992, allocations: 0.6645 MB / 1.023 GB, free: 320 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-05/0.4993, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01208/0.5114, allocations: 1.703 MB / 1.025 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.5121, allocations: 491.8 kB / 1.026 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.158e-05/0.5122, allocations: 12 kB / 1.026 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-05/0.5122, allocations: 16 kB / 1.026 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004664/0.5169, allocations: 335.5 kB / 1.026 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.746e-05/0.5171, allocations: 31.84 kB / 1.026 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/0.5222, allocations: 200.4 kB / 1.026 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.5227, allocations: 67.97 kB / 1.026 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.5227, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01009/0.5328, allocations: 1.52 MB / 1.028 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/0.5329, allocations: 12 kB / 1.028 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.533, allocations: 20 kB / 1.028 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002778/0.5358, allocations: 331.6 kB / 1.028 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.216e-05/0.5358, allocations: 35.8 kB / 1.028 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.5389, allocations: 186.9 kB / 1.028 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.5392, allocations: 63.97 kB / 1.028 GB, free: 11.12 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.5404, allocations: 496.7 kB / 1.029 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.5409, allocations: 177.8 kB / 1.029 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007117/0.5481, allocations: 1.517 MB / 1.03 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/0.5482, allocations: 15.92 kB / 1.03 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5482, allocations: 0 / 1.03 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005903/0.5541, allocations: 1.398 MB / 1.032 GB, free: 7.461 MB / 0.6823 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.01164/0.5658, allocations: 3.101 MB / 1.035 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.5658, allocations: 3.984 kB / 1.035 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/0.5682, allocations: 227.8 kB / 1.035 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.5682, allocations: 0 / 1.035 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.5684, allocations: 27.98 kB / 1.035 GB, free: 4.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/0.5684, allocations: 3.984 kB / 1.035 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5684, allocations: 8 kB / 1.035 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009827/0.5782, allocations: 2.174 MB / 1.037 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.5796, allocations: 378.5 kB / 1.038 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.58, allocations: 23.98 kB / 1.038 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/0.5829, allocations: 171.8 kB / 1.038 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.5832, allocations: 52.58 kB / 1.038 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.5834, allocations: 35.97 kB / 1.038 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002498/0.5859, allocations: 1.047 MB / 1.039 GB, free: 64 kB / 0.6823 GB Notification: Performance of sort global known variables: time 9.12e-07/0.5859, allocations: 4 kB / 1.039 GB, free: 60 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004864/0.5908, allocations: 0.9708 MB / 1.04 GB, free: 15.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00175/0.5926, allocations: 0.535 MB / 1.04 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.6027, allocations: 2.293 MB / 1.043 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.6027, allocations: 0 / 1.043 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003039/0.6058, allocations: 0.6335 MB / 1.043 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006626/0.6125, allocations: 0.8011 MB / 1.044 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/0.6304, allocations: 4.565 MB / 1.048 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.6319, allocations: 1.369 MB / 1.05 GB, free: 4.797 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003424/0.6353, allocations: 454.1 kB / 1.05 GB, free: 4.367 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/0.6362, allocations: 147.4 kB / 1.05 GB, free: 4.223 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.6362, allocations: 0 / 1.05 GB, free: 4.223 MB / 0.698 GB Notification: Performance of Templates: time 0.7038/1.34, allocations: 34.06 MB / 1.084 GB, free: 134.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)