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.0007263/0.0007263, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005092/0.005092, allocations: 172 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.685/1.685, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004837/0.0004837, allocations: 19.17 kB / 0.6743 GB, free: 25.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05267/0.2668, allocations: 55.8 MB / 0.8424 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.2896, allocations: 17.66 MB / 0.8596 GB, free: 1.891 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.2918, allocations: 59.62 kB / 0.8597 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.2945, allocations: 0.902 MB / 0.8606 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.2997, allocations: 2.045 MB / 0.8626 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.3039, allocations: 1.74 MB / 0.8643 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005636/0.3096, allocations: 4.997 MB / 0.8691 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.3113, allocations: 1.155 MB / 0.8703 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.3138, allocations: 1.334 MB / 0.8716 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.3151, allocations: 1.038 MB / 0.8726 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.3152, allocations: 56 kB / 0.8726 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.318, allocations: 1.357 MB / 0.874 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.3183, allocations: 346.5 kB / 0.8743 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.3192, allocations: 0.7865 MB / 0.8751 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.3226, allocations: 2.96 MB / 0.8779 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3227, allocations: 3.938 kB / 0.878 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3227, allocations: 0 / 0.878 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.3227, allocations: 4 kB / 0.878 GB, free: 15.04 MB / 0.7012 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.003163/0.3259, allocations: 1.815 MB / 0.8797 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3259, allocations: 12.03 kB / 0.8797 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.3276, allocations: 402.5 kB / 0.8801 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.3304, allocations: 1.572 MB / 0.8817 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006573/0.331, allocations: 193.9 kB / 0.8818 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.3312, allocations: 91.94 kB / 0.8819 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/0.3335, allocations: 1.122 MB / 0.883 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.3335, allocations: 4 kB / 0.883 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/0.3336, allocations: 36 kB / 0.8831 GB, free: 9.645 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.3336, allocations: 20 kB / 0.8831 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.3361, allocations: 0.9524 MB / 0.884 GB, free: 8.676 MB / 0.7012 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.006847/0.343, allocations: 5.016 MB / 0.8889 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.345, allocations: 0.7253 MB / 0.8896 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009637/0.346, allocations: 385 kB / 0.89 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.3482, allocations: 1.825 MB / 0.8918 GB, free: 280 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.3493, allocations: 492.6 kB / 0.8922 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003021/0.3497, allocations: 75.41 kB / 0.8923 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 1.913e-06/0.3497, allocations: 0 / 0.8923 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.003188/0.3529, allocations: 1.193 MB / 0.8935 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3529, allocations: 81.11 kB / 0.8936 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.3545, allocations: 1.308 MB / 0.8948 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.835e-05/0.3546, allocations: 33.7 kB / 0.8949 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.3551, allocations: 0.6609 MB / 0.8955 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.3553, allocations: 145.9 kB / 0.8956 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.3554, allocations: 65.69 kB / 0.8957 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3555, allocations: 337.9 kB / 0.896 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3565, allocations: 385.1 kB / 0.8964 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.3577, allocations: 0.6352 MB / 0.897 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.3599, allocations: 1.004 MB / 0.898 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3599, allocations: 4 kB / 0.898 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002675/0.3626, allocations: 1.183 MB / 0.8992 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.3628, allocations: 327.6 kB / 0.8995 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.3628, allocations: 8 kB / 0.8995 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3628, allocations: 8 kB / 0.8995 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.3636, allocations: 199.7 kB / 0.8997 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3637, allocations: 15.94 kB / 0.8997 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.3647, allocations: 116.5 kB / 0.8998 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.3648, allocations: 43.98 kB / 0.8998 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.3648, allocations: 4 kB / 0.8999 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/0.3669, allocations: 0.972 MB / 0.9008 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3669, allocations: 8 kB / 0.9008 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3669, allocations: 11.94 kB / 0.9008 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.3676, allocations: 192.3 kB / 0.901 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3676, allocations: 11.98 kB / 0.901 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/0.3685, allocations: 122.8 kB / 0.9011 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.3686, allocations: 39.98 kB / 0.9012 GB, free: 6.223 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 (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 (76): * Single equations (assignments): 74 * 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.0006296/0.3692, allocations: 0.4907 MB / 0.9016 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.3694, allocations: 138.2 kB / 0.9018 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.372, allocations: 1.075 MB / 0.9028 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.372, allocations: 7.984 kB / 0.9028 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.372, allocations: 0 / 0.9028 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.372, allocations: 4 kB / 0.9028 GB, free: 4.492 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.003844/0.3759, allocations: 2.228 MB / 0.905 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.3759, allocations: 4 kB / 0.905 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.3765, allocations: 136 kB / 0.9052 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3765, allocations: 12 kB / 0.9052 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.3766, allocations: 19.97 kB / 0.9052 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3766, allocations: 0 / 0.9052 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3766, allocations: 4 kB / 0.9052 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.3789, allocations: 1.109 MB / 0.9063 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.3794, allocations: 319.2 kB / 0.9066 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.3795, allocations: 12 kB / 0.9066 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/0.3805, allocations: 119.8 kB / 0.9067 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.3806, allocations: 31.95 kB / 0.9067 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.3806, allocations: 31.91 kB / 0.9068 GB, free: 344 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001214/0.3818, allocations: 0.8951 MB / 0.9076 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3819, allocations: 4 kB / 0.9076 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00179/0.3837, allocations: 0.6939 MB / 0.9083 GB, free: 14.74 MB / 0.7325 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 (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.0009793/0.3846, allocations: 455.3 kB / 0.9087 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003347/0.388, allocations: 1.513 MB / 0.9102 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.388, allocations: 0 / 0.9102 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.3891, allocations: 0.4968 MB / 0.9107 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.392, allocations: 0.6142 MB / 0.9113 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.3966, allocations: 2.789 MB / 0.914 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007861/0.3974, allocations: 1.213 MB / 0.9152 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001224/0.3986, allocations: 297.6 kB / 0.9155 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.3988, allocations: 103.4 kB / 0.9156 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3989, allocations: 0 / 0.9156 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of Templates: time 0.4128/0.8116, allocations: 26.79 MB / 0.9418 GB, free: 126.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: