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.001128/0.001128, allocations: 112.2 kB / 16.37 MB, free: 6 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.00109/0.00109, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.466/1.466, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.986/1.986, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001823/0.001824, allocations: 67.89 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2646, allocations: 114.6 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.4796/0.7443, allocations: 57.22 MB / 0.8407 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.7719, allocations: 17.39 MB / 0.8576 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004046/0.776, allocations: 69.88 kB / 0.8577 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004024/0.78, allocations: 1.055 MB / 0.8587 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.7887, allocations: 2.218 MB / 0.8609 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006493/0.7953, allocations: 1.94 MB / 0.8628 GB, free: 13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007347/0.8026, allocations: 3.961 MB / 0.8667 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.8055, allocations: 1.436 MB / 0.8681 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004928/0.8104, allocations: 1.651 MB / 0.8697 GB, free: 9.617 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.8132, allocations: 1.104 MB / 0.8708 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/0.8136, allocations: 168.4 kB / 0.8709 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.8179, allocations: 1.514 MB / 0.8724 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007053/0.8186, allocations: 465.2 kB / 0.8728 GB, free: 7.949 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.8204, allocations: 0.8934 MB / 0.8737 GB, free: 7.32 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006693/0.8271, allocations: 3.117 MB / 0.8768 GB, free: 5.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8271, allocations: 1.062 kB / 0.8768 GB, free: 5.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8271, allocations: 0 / 0.8768 GB, free: 5.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.251e-05/0.8272, allocations: 0 / 0.8768 GB, free: 5.18 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.004947/0.8322, allocations: 2.129 MB / 0.8788 GB, free: 3.547 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.8322, allocations: 8.625 kB / 0.8789 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.8341, allocations: 365.1 kB / 0.8792 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.8374, allocations: 1.558 MB / 0.8807 GB, free: 2.152 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.8375, allocations: 68.12 kB / 0.8808 GB, free: 2.125 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.8377, allocations: 87.09 kB / 0.8809 GB, free: 2.098 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.8401, allocations: 1.103 MB / 0.8819 GB, free: 1.379 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.8402, allocations: 5.25 kB / 0.882 GB, free: 1.375 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.8403, allocations: 33.72 kB / 0.882 GB, free: 1.352 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.8403, allocations: 20.47 kB / 0.882 GB, free: 1.352 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.8427, allocations: 0.8867 MB / 0.8829 GB, free: 0.9141 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.008108/0.8509, allocations: 5.277 MB / 0.888 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.8528, allocations: 0.6374 MB / 0.8886 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009108/0.8538, allocations: 338.4 kB / 0.889 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002924/0.8567, allocations: 1.8 MB / 0.8907 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.8579, allocations: 452.8 kB / 0.8912 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.155e-06/0.8579, allocations: 0 / 0.8912 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.003498/0.8614, allocations: 1.07 MB / 0.8922 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.8615, allocations: 94.45 kB / 0.8923 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.8637, allocations: 1.342 MB / 0.8936 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.8638, allocations: 34.83 kB / 0.8936 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/0.8645, allocations: 0.6657 MB / 0.8943 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.8646, allocations: 141.2 kB / 0.8944 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.8649, allocations: 166.8 kB / 0.8946 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.865, allocations: 332.1 kB / 0.8949 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.866, allocations: 367.8 kB / 0.8952 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.8673, allocations: 0.6197 MB / 0.8959 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00205/0.8693, allocations: 0.9703 MB / 0.8968 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.8694, allocations: 2.312 kB / 0.8968 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003022/0.8724, allocations: 1.136 MB / 0.8979 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.8725, allocations: 44.62 kB / 0.898 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.8725, allocations: 7.5 kB / 0.898 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.8725, allocations: 11 kB / 0.898 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.8733, allocations: 194.5 kB / 0.8982 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.8733, allocations: 14.94 kB / 0.8982 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.8748, allocations: 128 kB / 0.8983 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.671e-05/0.8749, allocations: 45.53 kB / 0.8983 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001452/0.8763, allocations: 0.6194 MB / 0.8989 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00104/0.8774, allocations: 0.5864 MB / 0.8995 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001687/0.8791, allocations: 0.8972 MB / 0.9004 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.8791, allocations: 0 / 0.9004 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002468/0.8816, allocations: 1.051 MB / 0.9014 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/0.8816, allocations: 45.69 kB / 0.9015 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.8816, allocations: 11.94 kB / 0.9015 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8816, allocations: 8 kB / 0.9015 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.8823, allocations: 182.8 kB / 0.9017 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.8823, allocations: 11.98 kB / 0.9017 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8836, allocations: 96.19 kB / 0.9018 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.8836, allocations: 35.98 kB / 0.9018 GB, free: 1.695 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.0003646/0.884, allocations: 265.7 kB / 0.902 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.8843, allocations: 142.2 kB / 0.9022 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.8869, allocations: 0.9932 MB / 0.9032 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.8869, allocations: 8 kB / 0.9032 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8869, allocations: 0 / 0.9032 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.887, allocations: 3.984 kB / 0.9032 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.8911, allocations: 2.158 MB / 0.9053 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.8911, allocations: 0 / 0.9053 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005935/0.8917, allocations: 120 kB / 0.9054 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8918, allocations: 4 kB / 0.9054 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/0.8918, allocations: 15.98 kB / 0.9054 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.8918, allocations: 4 kB / 0.9054 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8918, allocations: 0 / 0.9054 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.8942, allocations: 1.037 MB / 0.9064 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006406/0.8949, allocations: 315.1 kB / 0.9067 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.8951, allocations: 12 kB / 0.9067 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/0.8959, allocations: 71.05 kB / 0.9068 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.896, allocations: 39.88 kB / 0.9068 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.8961, allocations: 31.97 kB / 0.9069 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001375/0.8975, allocations: 0.9227 MB / 0.9078 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8975, allocations: 0 / 0.9078 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002225/0.8997, allocations: 0.6939 MB / 0.9084 GB, free: 10.72 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.001103/0.9008, allocations: 481.3 kB / 0.9089 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003402/0.9042, allocations: 1.427 MB / 0.9103 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9043, allocations: 0 / 0.9103 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.9053, allocations: 464.8 kB / 0.9107 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.9084, allocations: 0.6529 MB / 0.9114 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/0.9132, allocations: 2.301 MB / 0.9136 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.914, allocations: 1.206 MB / 0.9148 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004205/0.9144, allocations: 111.4 kB / 0.9149 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of SimCode: time 1.132e-06/0.9144, allocations: 0 / 0.9149 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of Templates: time 0.04062/0.9551, allocations: 25.32 MB / 0.9396 GB, free: 11.05 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)