Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001377/0.001377, allocations: 173.2 kB / 325.8 MB, free: 2.789 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.533/2.533, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.0008824/0.0008821, allocations: 89.67 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004533, allocations: 11.62 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.243, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.06693/0.31, allocations: 52.76 MB / 0.9506 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03628/0.3463, allocations: 16.34 MB / 0.9665 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.35, allocations: 59.56 kB / 0.9666 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005208/0.3552, allocations: 0.6834 MB / 0.9672 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.3665, allocations: 1.705 MB / 0.9689 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.3768, allocations: 1.381 MB / 0.9703 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.3888, allocations: 4.351 MB / 0.9745 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00437/0.3933, allocations: 1.107 MB / 0.9756 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006053/0.3994, allocations: 1.229 MB / 0.9768 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004181/0.4036, allocations: 0.9799 MB / 0.9777 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007947/0.4045, allocations: 56 kB / 0.9778 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/0.4107, allocations: 1.029 MB / 0.9788 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.4121, allocations: 326.6 kB / 0.9791 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.4133, allocations: 360.8 kB / 0.9795 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00719/0.4205, allocations: 2.287 MB / 0.9817 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.4206, allocations: 0 / 0.9817 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.196e-06/0.4206, allocations: 0 / 0.9817 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.182e-05/0.4207, allocations: 4 kB / 0.9817 GB, free: 12.5 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.008399/0.4291, allocations: 1.827 MB / 0.9835 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.4292, allocations: 8.031 kB / 0.9835 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005099/0.4344, allocations: 402.5 kB / 0.9839 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/0.442, allocations: 1.517 MB / 0.9854 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001978/0.444, allocations: 197.9 kB / 0.9855 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/0.4445, allocations: 88 kB / 0.9856 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006162/0.4507, allocations: 1.114 MB / 0.9867 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.4508, allocations: 4 kB / 0.9867 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.4511, allocations: 39.92 kB / 0.9868 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.4511, allocations: 20 kB / 0.9868 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007138/0.4583, allocations: 0.9524 MB / 0.9877 GB, free: 6.188 MB / 0.6355 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.01721/0.4755, allocations: 5.092 MB / 0.9927 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/0.4815, allocations: 0.7273 MB / 0.9934 GB, free: 64 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003827/0.4854, allocations: 388.6 kB / 0.9938 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004158/0.4896, allocations: 1.817 MB / 0.9955 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002236/0.4919, allocations: 481.4 kB / 0.996 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007405/0.4927, allocations: 75.41 kB / 0.9961 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.467e-06/0.4927, allocations: 0 / 0.9961 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.00628/0.499, allocations: 1.201 MB / 0.9972 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4991, allocations: 89.09 kB / 0.9973 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.5021, allocations: 1.289 MB / 0.9986 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.5023, allocations: 37.7 kB / 0.9986 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009125/0.5033, allocations: 0.6532 MB / 0.9993 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.5036, allocations: 153.8 kB / 0.9994 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.5037, allocations: 12 kB / 0.9994 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5038, allocations: 338 kB / 0.9997 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.5058, allocations: 361.1 kB / 1 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002317/0.5082, allocations: 0.6156 MB / 1.001 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/0.5104, allocations: 450.1 kB / 1.001 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.5104, allocations: 4 kB / 1.001 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005645/0.5161, allocations: 1.136 MB / 1.002 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003955/0.5165, allocations: 337.8 kB / 1.003 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.5166, allocations: 4 kB / 1.003 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.181e-05/0.5166, allocations: 15.94 kB / 1.003 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.5189, allocations: 195.7 kB / 1.003 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.001e-05/0.519, allocations: 11.94 kB / 1.003 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.5222, allocations: 124.5 kB / 1.003 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.5226, allocations: 39.98 kB / 1.003 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5227, allocations: 4 kB / 1.003 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005859/0.5286, allocations: 0.9655 MB / 1.004 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.5286, allocations: 11.94 kB / 1.004 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.5287, allocations: 8 kB / 1.004 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.5304, allocations: 184.4 kB / 1.004 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/0.5305, allocations: 23.88 kB / 1.004 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.533, allocations: 103 kB / 1.004 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.5333, allocations: 43.98 kB / 1.004 GB, free: 4.465 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001676/0.535, allocations: 490.7 kB / 1.005 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/0.5356, allocations: 134.3 kB / 1.005 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/0.5424, allocations: 1.078 MB / 1.006 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/0.5425, allocations: 19.92 kB / 1.006 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.5425, allocations: 0 / 1.006 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.5425, allocations: 4 kB / 1.006 GB, free: 2.727 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 postOpt removeSimpleEquations (simulation): time 0.0106/0.5532, allocations: 2.209 MB / 1.008 GB, free: 452 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.5532, allocations: 0 / 1.008 GB, free: 452 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.5548, allocations: 143.9 kB / 1.008 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.5548, allocations: 4 kB / 1.008 GB, free: 304 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.555, allocations: 19.98 kB / 1.008 GB, free: 284 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.555, allocations: 7.938 kB / 1.008 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.555, allocations: 3.938 kB / 1.008 GB, free: 272 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.5609, allocations: 1.099 MB / 1.009 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.5622, allocations: 315.2 kB / 1.01 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/0.5628, allocations: 16 kB / 1.01 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/0.5654, allocations: 111.9 kB / 1.01 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002411/0.5657, allocations: 39.67 kB / 1.01 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.5659, allocations: 31.97 kB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0031/0.5691, allocations: 0.8832 MB / 1.011 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.202e-06/0.5691, allocations: 4 kB / 1.011 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004554/0.5737, allocations: 0.6744 MB / 1.011 GB, free: 13.04 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001977/0.5757, allocations: 441.9 kB / 1.012 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008992/0.5848, allocations: 1.485 MB / 1.013 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.5848, allocations: 4 kB / 1.013 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003075/0.5879, allocations: 0.4925 MB / 1.014 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007648/0.5956, allocations: 0.6151 MB / 1.014 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.6066, allocations: 2.754 MB / 1.017 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.6086, allocations: 1.202 MB / 1.018 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00347/0.6121, allocations: 292.2 kB / 1.018 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.613, allocations: 107.4 kB / 1.019 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of SimCode: time 1.383e-06/0.613, allocations: 0 / 1.019 GB, free: 5.578 MB / 0.6667 GB Notification: Performance of Templates: time 0.08091/0.6939, allocations: 25.9 MB / 1.044 GB, free: 11.94 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)