Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009836/0.0009838, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001166/0.001166, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008289/0.0008291, allocations: 15.78 kB / 0.6737 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2667, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04849/0.3152, allocations: 52.77 MB / 0.8388 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.34, allocations: 16.37 MB / 0.8548 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.3429, allocations: 55.62 kB / 0.8549 GB, free: 6.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002549/0.3454, allocations: 0.6795 MB / 0.8555 GB, free: 5.887 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005523/0.351, allocations: 1.718 MB / 0.8572 GB, free: 4.164 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00414/0.3551, allocations: 1.38 MB / 0.8585 GB, free: 2.801 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00625/0.3614, allocations: 4.321 MB / 0.8628 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.3629, allocations: 0.9982 MB / 0.8637 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002441/0.3654, allocations: 1.252 MB / 0.865 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.3667, allocations: 0.9721 MB / 0.8659 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3668, allocations: 52 kB / 0.866 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.3693, allocations: 1.049 MB / 0.867 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.3696, allocations: 330.6 kB / 0.8673 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.37, allocations: 360.9 kB / 0.8676 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.3723, allocations: 2.311 MB / 0.8699 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3723, allocations: 0 / 0.8699 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3723, allocations: 0 / 0.8699 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.317e-05/0.3724, allocations: 0 / 0.8699 GB, free: 7.105 MB / 0.6856 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.003102/0.3755, allocations: 1.838 MB / 0.8717 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3755, allocations: 8.031 kB / 0.8717 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.377, allocations: 401.6 kB / 0.8721 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.3795, allocations: 1.512 MB / 0.8736 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005667/0.3801, allocations: 197.9 kB / 0.8737 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3802, allocations: 88 kB / 0.8738 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.3824, allocations: 1.126 MB / 0.8749 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.3824, allocations: 3.953 kB / 0.8749 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.3825, allocations: 40 kB / 0.875 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.3825, allocations: 20 kB / 0.875 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.3847, allocations: 0.9446 MB / 0.8759 GB, free: 0.7812 MB / 0.6856 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.006625/0.3913, allocations: 4.996 MB / 0.8808 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3933, allocations: 0.7356 MB / 0.8815 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008681/0.3942, allocations: 392.5 kB / 0.8819 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002339/0.3965, allocations: 1.825 MB / 0.8837 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.3976, allocations: 496.6 kB / 0.8841 GB, free: 7.883 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003544/0.398, allocations: 75.44 kB / 0.8842 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.284e-06/0.398, allocations: 0 / 0.8842 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.002829/0.4008, allocations: 1.189 MB / 0.8854 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4009, allocations: 81.11 kB / 0.8855 GB, free: 6.508 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.4026, allocations: 1.289 MB / 0.8867 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.4026, allocations: 41.69 kB / 0.8868 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.4032, allocations: 0.6532 MB / 0.8874 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4034, allocations: 149.9 kB / 0.8875 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.4034, allocations: 12 kB / 0.8875 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4035, allocations: 333.9 kB / 0.8879 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.4045, allocations: 369 kB / 0.8882 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4055, allocations: 0.6274 MB / 0.8888 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.4065, allocations: 434.2 kB / 0.8892 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.4065, allocations: 0 / 0.8892 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002346/0.4088, allocations: 1.156 MB / 0.8904 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.4091, allocations: 323 kB / 0.8907 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.4091, allocations: 8 kB / 0.8907 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.4091, allocations: 8 kB / 0.8907 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.4099, allocations: 207.7 kB / 0.8909 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4099, allocations: 11.98 kB / 0.8909 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009166/0.4109, allocations: 124.5 kB / 0.891 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.763e-05/0.411, allocations: 35.98 kB / 0.8911 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.411, allocations: 4 kB / 0.8911 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/0.4129, allocations: 0.9681 MB / 0.892 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4129, allocations: 8.625 kB / 0.892 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4129, allocations: 16 kB / 0.892 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.4135, allocations: 187.7 kB / 0.8922 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.4136, allocations: 11.98 kB / 0.8922 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.4143, allocations: 112.6 kB / 0.8923 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.4144, allocations: 39.92 kB / 0.8924 GB, free: 15.16 MB / 0.7169 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 (76): * Single equations (assignments): 74 * 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.0006759/0.4151, allocations: 490.6 kB / 0.8928 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.4152, allocations: 138.3 kB / 0.893 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.4176, allocations: 1.078 MB / 0.894 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4177, allocations: 4 kB / 0.894 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4177, allocations: 4 kB / 0.894 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.4177, allocations: 3.984 kB / 0.894 GB, free: 13.43 MB / 0.7169 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.003624/0.4213, allocations: 2.232 MB / 0.8962 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4213, allocations: 0 / 0.8962 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.4219, allocations: 136 kB / 0.8963 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.422, allocations: 4 kB / 0.8963 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.422, allocations: 19.98 kB / 0.8964 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.422, allocations: 4 kB / 0.8964 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.422, allocations: 4 kB / 0.8964 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.4242, allocations: 1.114 MB / 0.8975 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.4247, allocations: 307.3 kB / 0.8977 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.4248, allocations: 12 kB / 0.8978 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/0.4257, allocations: 115.9 kB / 0.8979 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4258, allocations: 43.89 kB / 0.8979 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.4259, allocations: 27.98 kB / 0.8979 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00127/0.4271, allocations: 0.8871 MB / 0.8988 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4271, allocations: 0 / 0.8988 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002129/0.4293, allocations: 0.686 MB / 0.8995 GB, free: 7.711 MB / 0.7169 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.001033/0.4303, allocations: 458.3 kB / 0.8999 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003214/0.4336, allocations: 1.486 MB / 0.9014 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4336, allocations: 0.5625 kB / 0.9014 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.4346, allocations: 0.492 MB / 0.9018 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.4379, allocations: 0.6252 MB / 0.9025 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.4432, allocations: 2.757 MB / 0.9051 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.4443, allocations: 1.202 MB / 0.9063 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001475/0.4457, allocations: 299.8 kB / 0.9066 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.4461, allocations: 107.4 kB / 0.9067 GB, free: 220 kB / 0.7169 GB Notification: Performance of SimCode: time 8.92e-07/0.4461, allocations: 0 / 0.9067 GB, free: 220 kB / 0.7169 GB Notification: Performance of Templates: time 0.473/0.9191, allocations: 26.1 MB / 0.9322 GB, free: 125.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) Environment - environmentSimulation: