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.0009244/0.0009246, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009761/0.0009762, allocations: 177.3 kB / 15.95 MB, free: 216 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.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.688/1.688, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005351/0.0005351, allocations: 13.66 kB / 0.6735 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2904, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04707/0.3375, allocations: 48.05 MB / 0.834 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02201/0.3595, allocations: 15.39 MB / 0.8491 GB, free: 12.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.3618, allocations: 51.62 kB / 0.8491 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.3646, allocations: 0.8943 MB / 0.85 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.3707, allocations: 2.188 MB / 0.8521 GB, free: 9.254 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007468/0.3782, allocations: 2.807 MB / 0.8549 GB, free: 6.484 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004215/0.3824, allocations: 2.28 MB / 0.8571 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.384, allocations: 1.006 MB / 0.8581 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.386, allocations: 1.102 MB / 0.8592 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.3869, allocations: 0.696 MB / 0.8598 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.3871, allocations: 59.94 kB / 0.8599 GB, free: 1.301 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.3895, allocations: 1.08 MB / 0.8609 GB, free: 224 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.3899, allocations: 306.9 kB / 0.8612 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.3903, allocations: 360.7 kB / 0.8616 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00271/0.393, allocations: 2.295 MB / 0.8638 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.393, allocations: 4 kB / 0.8638 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.393, allocations: 0 / 0.8638 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.3931, allocations: 0 / 0.8638 GB, free: 13.25 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.003295/0.3964, allocations: 1.826 MB / 0.8656 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3964, allocations: 12.03 kB / 0.8656 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.398, allocations: 405.6 kB / 0.866 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.4004, allocations: 1.45 MB / 0.8674 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/0.4011, allocations: 201.8 kB / 0.8676 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4012, allocations: 91.98 kB / 0.8677 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/0.4034, allocations: 1.099 MB / 0.8688 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4035, allocations: 7.891 kB / 0.8688 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.365e-05/0.4036, allocations: 40 kB / 0.8688 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.4036, allocations: 20 kB / 0.8688 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.4058, allocations: 0.929 MB / 0.8697 GB, free: 7.027 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.006703/0.4126, allocations: 5.052 MB / 0.8747 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.4145, allocations: 0.7005 MB / 0.8754 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.4172, allocations: 1.833 MB / 0.8772 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.4183, allocations: 469.1 kB / 0.8776 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002952/0.4186, allocations: 75.41 kB / 0.8777 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.034e-06/0.4186, allocations: 0 / 0.8777 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.003043/0.4217, allocations: 1.256 MB / 0.8789 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4218, allocations: 85.11 kB / 0.879 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4233, allocations: 1.324 MB / 0.8803 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.4234, allocations: 41.64 kB / 0.8803 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.4239, allocations: 0.6532 MB / 0.881 GB, free: 11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.424, allocations: 145.9 kB / 0.8811 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4241, allocations: 20 kB / 0.8811 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4242, allocations: 333.9 kB / 0.8814 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009265/0.4252, allocations: 357.1 kB / 0.8818 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.4263, allocations: 0.6079 MB / 0.8824 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.4273, allocations: 438.2 kB / 0.8828 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4273, allocations: 0 / 0.8828 GB, free: 8.992 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002437/0.4298, allocations: 1.129 MB / 0.8839 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009716/0.4308, allocations: 2.702 MB / 0.8865 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4308, allocations: 8 kB / 0.8865 GB, free: 4.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.4308, allocations: 12 kB / 0.8865 GB, free: 4.969 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.4316, allocations: 199.7 kB / 0.8867 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.4317, allocations: 15.94 kB / 0.8867 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.4327, allocations: 128.3 kB / 0.8869 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.4328, allocations: 47.98 kB / 0.8869 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4328, allocations: 7.125 kB / 0.8869 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00201/0.4348, allocations: 0.9525 MB / 0.8879 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4349, allocations: 8 kB / 0.8879 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.4349, allocations: 12 kB / 0.8879 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.4355, allocations: 184.4 kB / 0.888 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4356, allocations: 15.94 kB / 0.8881 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/0.4364, allocations: 112.5 kB / 0.8882 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.4365, allocations: 35.98 kB / 0.8882 GB, free: 3.262 MB / 0.7012 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.000717/0.4372, allocations: 0.4934 MB / 0.8887 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.4374, allocations: 138.3 kB / 0.8888 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4399, allocations: 1.07 MB / 0.8899 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.4399, allocations: 19.92 kB / 0.8899 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4399, allocations: 0 / 0.8899 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4399, allocations: 0 / 0.8899 GB, free: 1.527 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 postOpt removeSimpleEquations (simulation): time 0.003854/0.4438, allocations: 2.267 MB / 0.8921 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4438, allocations: 0 / 0.8921 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4444, allocations: 151.9 kB / 0.8922 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4444, allocations: 0 / 0.8922 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.4445, allocations: 19.97 kB / 0.8923 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4445, allocations: 4 kB / 0.8923 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4445, allocations: 0 / 0.8923 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.4467, allocations: 1.154 MB / 0.8934 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.4472, allocations: 327.2 kB / 0.8937 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.4474, allocations: 19.92 kB / 0.8937 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008956/0.4483, allocations: 119.9 kB / 0.8938 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.78e-05/0.4484, allocations: 35.94 kB / 0.8939 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/0.4484, allocations: 27.98 kB / 0.8939 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001154/0.4496, allocations: 0.9145 MB / 0.8948 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4496, allocations: 0 / 0.8948 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0019/0.4515, allocations: 0.7056 MB / 0.8955 GB, free: 11.61 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.0009017/0.4524, allocations: 479.4 kB / 0.8959 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003179/0.4556, allocations: 1.467 MB / 0.8974 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4556, allocations: 64 / 0.8974 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4566, allocations: 0.492 MB / 0.8979 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.4592, allocations: 0.618 MB / 0.8985 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.4659, allocations: 2.792 MB / 0.9012 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4673, allocations: 1.233 MB / 0.9024 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002072/0.4694, allocations: 298.7 kB / 0.9027 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.4699, allocations: 111.4 kB / 0.9028 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.4699, allocations: 0 / 0.9028 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.4921/0.962, allocations: 26.86 MB / 0.929 GB, free: 124.3 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: