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.001228/0.001228, allocations: 101.7 kB / 16.27 MB, free: 5.996 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.00112/0.00112, allocations: 182.3 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.768/1.768, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001415/0.001415, allocations: 67.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2432, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.4576/0.7009, allocations: 57.22 MB / 0.8399 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.7277, allocations: 17.38 MB / 0.8569 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004431/0.7321, allocations: 65.66 kB / 0.8569 GB, free: 15.74 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004317/0.7365, allocations: 1.063 MB / 0.858 GB, free: 15.13 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009414/0.746, allocations: 2.217 MB / 0.8601 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006975/0.753, allocations: 1.932 MB / 0.862 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007816/0.7608, allocations: 3.955 MB / 0.8659 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/0.7638, allocations: 1.434 MB / 0.8673 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005093/0.7689, allocations: 1.645 MB / 0.8689 GB, free: 9.445 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.7715, allocations: 1.095 MB / 0.87 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.7719, allocations: 170.1 kB / 0.8701 GB, free: 8.926 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.7761, allocations: 1.505 MB / 0.8716 GB, free: 8.281 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/0.7767, allocations: 464.3 kB / 0.872 GB, free: 7.926 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.778, allocations: 0.8981 MB / 0.8729 GB, free: 7.293 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/0.7835, allocations: 3.084 MB / 0.8759 GB, free: 5.168 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7835, allocations: 1.125 kB / 0.8759 GB, free: 5.168 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7835, allocations: 5.125 kB / 0.8759 GB, free: 5.164 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.881e-05/0.7836, allocations: 0 / 0.8759 GB, free: 5.164 MB / 0.67 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.004468/0.788, allocations: 2.124 MB / 0.878 GB, free: 3.535 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7881, allocations: 9.094 kB / 0.878 GB, free: 3.535 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.7898, allocations: 366.9 kB / 0.8784 GB, free: 3.367 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.7927, allocations: 1.509 MB / 0.8798 GB, free: 2.168 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006624/0.7934, allocations: 178.4 kB / 0.88 GB, free: 2.098 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.7935, allocations: 87.94 kB / 0.8801 GB, free: 2.07 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.7959, allocations: 1.111 MB / 0.8812 GB, free: 1.348 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.796, allocations: 8.969 kB / 0.8812 GB, free: 1.34 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.7961, allocations: 33.41 kB / 0.8812 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.7961, allocations: 20.47 kB / 0.8812 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.7985, allocations: 0.9034 MB / 0.8821 GB, free: 0.875 MB / 0.67 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.007577/0.8061, allocations: 5.34 MB / 0.8873 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.8082, allocations: 0.652 MB / 0.888 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.8092, allocations: 353.4 kB / 0.8883 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002856/0.8121, allocations: 1.802 MB / 0.8901 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.8133, allocations: 463.9 kB / 0.8905 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.8133, allocations: 0 / 0.8905 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.00336/0.8167, allocations: 1.095 MB / 0.8916 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.8167, allocations: 90.47 kB / 0.8917 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.8187, allocations: 1.346 MB / 0.893 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/0.8188, allocations: 43.42 kB / 0.893 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/0.8195, allocations: 0.6582 MB / 0.8937 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.8196, allocations: 144.7 kB / 0.8938 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.8199, allocations: 166.8 kB / 0.894 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.82, allocations: 333.1 kB / 0.8943 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.8211, allocations: 366 kB / 0.8946 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.8224, allocations: 0.6438 MB / 0.8953 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.8246, allocations: 0.9819 MB / 0.8962 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.8246, allocations: 6.609 kB / 0.8962 GB, free: 5.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002893/0.8275, allocations: 1.152 MB / 0.8974 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.8276, allocations: 40.69 kB / 0.8974 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.8276, allocations: 6.875 kB / 0.8974 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.8276, allocations: 11 kB / 0.8974 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.8284, allocations: 197.6 kB / 0.8976 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.8285, allocations: 21.02 kB / 0.8976 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.8297, allocations: 133.2 kB / 0.8977 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.8298, allocations: 41.52 kB / 0.8978 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.8313, allocations: 0.6291 MB / 0.8984 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001097/0.8324, allocations: 0.5984 MB / 0.899 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001888/0.8343, allocations: 0.9113 MB / 0.8999 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.676e-06/0.8344, allocations: 0 / 0.8999 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002521/0.8369, allocations: 1.07 MB / 0.9009 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/0.8369, allocations: 41.64 kB / 0.901 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.837, allocations: 11.98 kB / 0.901 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.837, allocations: 12 kB / 0.901 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007019/0.8377, allocations: 179.7 kB / 0.9012 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.8377, allocations: 15.92 kB / 0.9012 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.8389, allocations: 116.1 kB / 0.9013 GB, free: 1.652 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/0.839, allocations: 35.98 kB / 0.9013 GB, free: 1.617 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (QCoo.nextEventScaled,QCoo.nextEvent,$PRE.QCoo.nextEvent,QCoo.last,QCoo.b,QCoo.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0003331/0.8393, allocations: 265.7 kB / 0.9016 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.8397, allocations: 138.2 kB / 0.9017 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.8425, allocations: 1.019 MB / 0.9027 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.8425, allocations: 7.984 kB / 0.9027 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.8425, allocations: 0 / 0.9027 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8425, allocations: 0 / 0.9027 GB, free: 184 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005121/0.8476, allocations: 2.17 MB / 0.9048 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8477, allocations: 0 / 0.9048 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/0.8483, allocations: 131.6 kB / 0.9049 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.8483, allocations: 0 / 0.9049 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.8484, allocations: 23.98 kB / 0.905 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.8484, allocations: 4 kB / 0.905 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8484, allocations: 0 / 0.905 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.851, allocations: 1.057 MB / 0.906 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006778/0.8517, allocations: 315.1 kB / 0.9063 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/0.852, allocations: 12 kB / 0.9063 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8531, allocations: 79.86 kB / 0.9064 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.8532, allocations: 35.89 kB / 0.9064 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.782e-05/0.8533, allocations: 31.97 kB / 0.9065 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001589/0.8549, allocations: 0.9227 MB / 0.9074 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8549, allocations: 0 / 0.9074 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002688/0.8576, allocations: 0.69 MB / 0.908 GB, free: 10.58 MB / 0.7012 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 (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * 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.00138/0.859, allocations: 474.8 kB / 0.9085 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004024/0.863, allocations: 1.482 MB / 0.9099 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.863, allocations: 0 / 0.9099 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.8642, allocations: 480.7 kB / 0.9104 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.8676, allocations: 0.6552 MB / 0.911 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.8728, allocations: 2.352 MB / 0.9133 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.8737, allocations: 1.194 MB / 0.9145 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.8741, allocations: 115.4 kB / 0.9146 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of SimCode: time 1.122e-06/0.8742, allocations: 0 / 0.9146 GB, free: 3.812 MB / 0.7012 GB Notification: Performance of Templates: time 0.04006/0.9142, allocations: 25.35 MB / 0.9394 GB, free: 10.78 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (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)