Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 100.3 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.001832/0.001832, 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.588/1.588, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.656/1.656, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005202/0.0005203, allocations: 24.22 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2526, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05003/0.3027, allocations: 48.05 MB / 0.834 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02385/0.3266, allocations: 15.39 MB / 0.8491 GB, free: 12.4 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002736/0.3294, allocations: 51.62 kB / 0.8491 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003626/0.333, allocations: 0.8943 MB / 0.85 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.3414, allocations: 2.193 MB / 0.8521 GB, free: 9.258 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009655/0.351, allocations: 2.803 MB / 0.8549 GB, free: 6.492 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005804/0.3569, allocations: 2.277 MB / 0.8571 GB, free: 4.207 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002711/0.3596, allocations: 1.018 MB / 0.8581 GB, free: 3.164 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3631, allocations: 1.102 MB / 0.8592 GB, free: 2.059 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.3651, allocations: 0.6921 MB / 0.8598 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000491/0.3656, allocations: 52 kB / 0.8599 GB, free: 1.312 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.3693, allocations: 1.084 MB / 0.8609 GB, free: 232 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007102/0.37, allocations: 302.8 kB / 0.8612 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008944/0.3709, allocations: 364.8 kB / 0.8616 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.3751, allocations: 2.291 MB / 0.8638 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3751, allocations: 4 kB / 0.8638 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3751, allocations: 0 / 0.8638 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.287e-05/0.3752, allocations: 0 / 0.8638 GB, free: 13.27 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.004938/0.3801, allocations: 1.826 MB / 0.8656 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3802, allocations: 12.02 kB / 0.8656 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.3821, allocations: 405.5 kB / 0.866 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.3856, allocations: 1.454 MB / 0.8674 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006827/0.3863, allocations: 201.9 kB / 0.8676 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.3866, allocations: 84 kB / 0.8677 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.3893, allocations: 1.099 MB / 0.8688 GB, free: 8.035 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3893, allocations: 7.891 kB / 0.8688 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.3894, allocations: 36 kB / 0.8688 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.3895, allocations: 24 kB / 0.8688 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3921, allocations: 0.9329 MB / 0.8697 GB, free: 7.039 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.008685/0.4008, allocations: 5.054 MB / 0.8747 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.4029, allocations: 0.7018 MB / 0.8754 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/0.4059, allocations: 1.825 MB / 0.8771 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.4071, allocations: 477.1 kB / 0.8776 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005148/0.4076, allocations: 79.41 kB / 0.8777 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 4.058e-06/0.4077, allocations: 0 / 0.8777 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.003391/0.4111, allocations: 1.248 MB / 0.8789 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.4111, allocations: 85.11 kB / 0.879 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/0.4134, allocations: 1.324 MB / 0.8803 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.4135, allocations: 41.64 kB / 0.8803 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007119/0.4143, allocations: 0.6493 MB / 0.8809 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.4145, allocations: 145.9 kB / 0.8811 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.4145, allocations: 16 kB / 0.8811 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4147, allocations: 337.9 kB / 0.8814 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009919/0.4157, allocations: 361 kB / 0.8818 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/0.4169, allocations: 0.6079 MB / 0.8824 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.418, allocations: 446.2 kB / 0.8828 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4181, allocations: 0 / 0.8828 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002776/0.4208, allocations: 1.133 MB / 0.8839 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.4221, allocations: 2.691 MB / 0.8865 GB, free: 5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.4222, allocations: 8 kB / 0.8865 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.4222, allocations: 8 kB / 0.8865 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008465/0.4231, allocations: 207.7 kB / 0.8867 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.4231, allocations: 15.94 kB / 0.8867 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.4244, allocations: 128.3 kB / 0.8869 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.4245, allocations: 47.97 kB / 0.8869 GB, free: 4.594 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4246, allocations: 7.984 kB / 0.8869 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/0.4267, allocations: 0.9486 MB / 0.8878 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4268, allocations: 4.625 kB / 0.8879 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4268, allocations: 12 kB / 0.8879 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.4275, allocations: 191.8 kB / 0.888 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.4275, allocations: 11.94 kB / 0.8881 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.4287, allocations: 116.6 kB / 0.8882 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.983e-05/0.4288, allocations: 35.98 kB / 0.8882 GB, free: 3.266 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0009288/0.4297, allocations: 498.5 kB / 0.8887 GB, free: 2.762 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.4301, allocations: 138.3 kB / 0.8888 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002839/0.4329, allocations: 1.073 MB / 0.8899 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.433, allocations: 7.938 kB / 0.8899 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.433, allocations: 0 / 0.8899 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.433, allocations: 0 / 0.8899 GB, free: 1.547 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.004972/0.438, allocations: 2.271 MB / 0.8921 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.438, allocations: 4.031 kB / 0.8921 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.4387, allocations: 143.8 kB / 0.8922 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.4387, allocations: 4 kB / 0.8922 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.4388, allocations: 19.92 kB / 0.8922 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4388, allocations: 4 kB / 0.8923 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4388, allocations: 3.984 kB / 0.8923 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4414, allocations: 1.154 MB / 0.8934 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/0.4423, allocations: 327.2 kB / 0.8937 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.4427, allocations: 8 kB / 0.8937 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.4439, allocations: 123.9 kB / 0.8938 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4441, allocations: 39.88 kB / 0.8939 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/0.4442, allocations: 27.97 kB / 0.8939 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001696/0.4459, allocations: 0.9145 MB / 0.8948 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4459, allocations: 0 / 0.8948 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002751/0.4486, allocations: 0.7056 MB / 0.8955 GB, free: 11.62 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.00141/0.4501, allocations: 479.5 kB / 0.8959 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.454, allocations: 1.467 MB / 0.8974 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.454, allocations: 0 / 0.8974 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4552, allocations: 496.4 kB / 0.8978 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.4588, allocations: 0.6234 MB / 0.8984 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006389/0.4652, allocations: 2.792 MB / 0.9012 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.4664, allocations: 1.233 MB / 0.9024 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001778/0.4682, allocations: 310.8 kB / 0.9027 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.4687, allocations: 107.4 kB / 0.9028 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of SimCode: time 9.41e-07/0.4687, allocations: 0 / 0.9028 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.4502/0.9189, allocations: 26.85 MB / 0.929 GB, free: 123.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1) Environment - environmentSimulation: