Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.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.0009368/0.0009366, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001238/0.001238, allocations: 168.7 kB / 15.95 MB, free: 204 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.818/1.818, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.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.0005385/0.0005386, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6545/0.6551, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05433/0.7094, allocations: 52.76 MB / 0.7796 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.7342, allocations: 16.35 MB / 0.7956 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.737, allocations: 55.62 kB / 0.7957 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00263/0.7396, allocations: 0.6873 MB / 0.7963 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.7459, allocations: 1.706 MB / 0.798 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005149/0.7511, allocations: 1.379 MB / 0.7994 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00802/0.7592, allocations: 4.32 MB / 0.8036 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.7614, allocations: 1.006 MB / 0.8046 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.7643, allocations: 1.233 MB / 0.8058 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.766, allocations: 0.976 MB / 0.8067 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.7663, allocations: 56 kB / 0.8068 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.7691, allocations: 1.037 MB / 0.8078 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.7696, allocations: 330.6 kB / 0.8081 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005723/0.7701, allocations: 356.9 kB / 0.8084 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.7734, allocations: 2.287 MB / 0.8107 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7734, allocations: 0 / 0.8107 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7734, allocations: 0 / 0.8107 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.289e-05/0.7735, allocations: 0 / 0.8107 GB, free: 6.672 MB / 0.6231 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.003418/0.7769, allocations: 1.826 MB / 0.8124 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.7769, allocations: 8.031 kB / 0.8125 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/0.7786, allocations: 393.7 kB / 0.8128 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.7816, allocations: 1.512 MB / 0.8143 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005746/0.7822, allocations: 201.9 kB / 0.8145 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.7823, allocations: 95.95 kB / 0.8146 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/0.7846, allocations: 1.11 MB / 0.8157 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.7847, allocations: 0 / 0.8157 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.7848, allocations: 40 kB / 0.8157 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.7848, allocations: 20 kB / 0.8157 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.787, allocations: 0.9485 MB / 0.8167 GB, free: 376 kB / 0.6231 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.00785/0.7949, allocations: 5.1 MB / 0.8216 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.7969, allocations: 0.7213 MB / 0.8223 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.7978, allocations: 384.7 kB / 0.8227 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/0.8003, allocations: 1.817 MB / 0.8245 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.8014, allocations: 493.4 kB / 0.825 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003503/0.8017, allocations: 79.34 kB / 0.825 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=44): time 2.264e-06/0.8017, allocations: 0 / 0.825 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44): time 0.002946/0.8047, allocations: 1.181 MB / 0.8262 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.8048, allocations: 93.05 kB / 0.8263 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.8066, allocations: 1.289 MB / 0.8275 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.8066, allocations: 41.7 kB / 0.8276 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/0.8072, allocations: 0.6531 MB / 0.8282 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.8074, allocations: 149.9 kB / 0.8284 GB, free: 3.828 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.8074, allocations: 16 kB / 0.8284 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8076, allocations: 330 kB / 0.8287 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/0.8086, allocations: 373 kB / 0.829 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.8097, allocations: 0.6157 MB / 0.8296 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.8107, allocations: 438.2 kB / 0.8301 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.8107, allocations: 4 kB / 0.8301 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002493/0.8132, allocations: 1.139 MB / 0.8312 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.8135, allocations: 322.3 kB / 0.8315 GB, free: 396 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8135, allocations: 11.98 kB / 0.8315 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.8135, allocations: 19.95 kB / 0.8315 GB, free: 364 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/0.8143, allocations: 199.7 kB / 0.8317 GB, free: 164 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.8143, allocations: 8 kB / 0.8317 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.8153, allocations: 123.9 kB / 0.8318 GB, free: 36 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.8154, allocations: 35.98 kB / 0.8319 GB, free: 0 / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.8155, allocations: 5.922 kB / 0.8319 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002073/0.8176, allocations: 0.9659 MB / 0.8328 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.8176, allocations: 8 kB / 0.8328 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8176, allocations: 12 kB / 0.8328 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.8182, allocations: 183.9 kB / 0.833 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.8183, allocations: 11.98 kB / 0.833 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/0.8191, allocations: 108.6 kB / 0.8331 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.8192, allocations: 35.98 kB / 0.8332 GB, free: 14.67 MB / 0.6544 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 (75): * Single equations (assignments): 73 * 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.0008586/0.8201, allocations: 498.5 kB / 0.8336 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.8203, allocations: 134.3 kB / 0.8338 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.8229, allocations: 1.092 MB / 0.8348 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.8229, allocations: 8 kB / 0.8348 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8229, allocations: 0 / 0.8348 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.8229, allocations: 3.984 kB / 0.8348 GB, free: 12.93 MB / 0.6544 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.003934/0.8269, allocations: 2.213 MB / 0.837 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.8269, allocations: 0 / 0.837 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.8275, allocations: 139.9 kB / 0.8371 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.8275, allocations: 0 / 0.8371 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.8275, allocations: 15.98 kB / 0.8371 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.8276, allocations: 11.94 kB / 0.8372 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.8276, allocations: 0 / 0.8372 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.8298, allocations: 1.105 MB / 0.8382 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.8303, allocations: 311.3 kB / 0.8385 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.8305, allocations: 15.98 kB / 0.8385 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.8313, allocations: 119.9 kB / 0.8387 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.8314, allocations: 35.91 kB / 0.8387 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.8315, allocations: 27.97 kB / 0.8387 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001342/0.8329, allocations: 0.8871 MB / 0.8396 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8329, allocations: 0 / 0.8396 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001937/0.8348, allocations: 0.6783 MB / 0.8403 GB, free: 7.242 MB / 0.6544 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.0009022/0.8357, allocations: 431 kB / 0.8407 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003248/0.839, allocations: 1.49 MB / 0.8421 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.839, allocations: 4.188 kB / 0.8421 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.8401, allocations: 499.7 kB / 0.8426 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.8427, allocations: 0.6164 MB / 0.8432 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.8472, allocations: 2.758 MB / 0.8459 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.848, allocations: 1.206 MB / 0.8471 GB, free: 164 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8493, allocations: 297.2 kB / 0.8474 GB, free: 15.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.8496, allocations: 103.4 kB / 0.8475 GB, free: 15.78 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/0.8496, allocations: 4 kB / 0.8475 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Templates: time 0.04207/0.8917, allocations: 25.9 MB / 0.8728 GB, free: 6.277 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1) Environment - environmentSimulation: