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.0007957/0.0007957, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005291/0.005291, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.376/1.376, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006354/0.0006354, allocations: 19.62 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.272, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05768/0.3298, allocations: 55.8 MB / 0.8424 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.3553, allocations: 17.67 MB / 0.8596 GB, free: 1.887 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.3581, allocations: 55.62 kB / 0.8597 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.3615, allocations: 0.902 MB / 0.8606 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006626/0.3682, allocations: 2.042 MB / 0.8626 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005389/0.3736, allocations: 1.734 MB / 0.8643 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0067/0.3803, allocations: 5.001 MB / 0.8691 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.3827, allocations: 1.155 MB / 0.8703 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.386, allocations: 1.326 MB / 0.8716 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.3881, allocations: 1.038 MB / 0.8726 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.3885, allocations: 59.98 kB / 0.8726 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/0.392, allocations: 1.357 MB / 0.874 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.3926, allocations: 346.5 kB / 0.8743 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.3937, allocations: 0.7827 MB / 0.875 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.3975, allocations: 2.971 MB / 0.878 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3975, allocations: 0 / 0.878 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3976, allocations: 0 / 0.878 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.069e-05/0.3976, allocations: 0 / 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.003385/0.401, allocations: 1.818 MB / 0.8797 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.401, allocations: 8.031 kB / 0.8797 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.4026, allocations: 394.5 kB / 0.8801 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.4053, allocations: 1.588 MB / 0.8817 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006444/0.4059, allocations: 201.9 kB / 0.8819 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.4061, allocations: 88 kB / 0.8819 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4083, allocations: 1.118 MB / 0.883 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4084, allocations: 0 / 0.883 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.4084, allocations: 32 kB / 0.8831 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.4085, allocations: 20 kB / 0.8831 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.4108, allocations: 0.9641 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.006358/0.4172, allocations: 5.008 MB / 0.8889 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.4191, allocations: 0.7213 MB / 0.8896 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009303/0.4201, allocations: 385 kB / 0.89 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.4222, allocations: 1.829 MB / 0.8918 GB, free: 288 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.4234, allocations: 492.6 kB / 0.8922 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000312/0.4237, allocations: 71.42 kB / 0.8923 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=44): time 3.547e-06/0.4237, allocations: 3.938 kB / 0.8923 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=44): time 0.003127/0.4269, allocations: 1.201 MB / 0.8935 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.4269, allocations: 89.11 kB / 0.8936 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.4285, allocations: 1.3 MB / 0.8948 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.4286, allocations: 41.69 kB / 0.8949 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.4292, allocations: 0.6532 MB / 0.8955 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4293, allocations: 141.9 kB / 0.8956 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.4294, allocations: 61.69 kB / 0.8957 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4295, allocations: 334 kB / 0.896 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/0.4305, allocations: 389.1 kB / 0.8964 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.4316, allocations: 0.6313 MB / 0.897 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/0.4337, allocations: 1.008 MB / 0.898 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4337, allocations: 0 / 0.898 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002534/0.4362, allocations: 1.187 MB / 0.8992 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.4364, allocations: 319.6 kB / 0.8995 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4365, allocations: 12 kB / 0.8995 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4365, allocations: 12 kB / 0.8995 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000781/0.4373, allocations: 199.7 kB / 0.8997 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.4373, allocations: 11.98 kB / 0.8997 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.4383, allocations: 120.5 kB / 0.8998 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/0.4384, allocations: 39.97 kB / 0.8998 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.4384, allocations: 4 kB / 0.8998 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002001/0.4404, allocations: 0.9761 MB / 0.9008 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.4404, allocations: 4 kB / 0.9008 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4404, allocations: 15.94 kB / 0.9008 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.4411, allocations: 192.2 kB / 0.901 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4411, allocations: 19.92 kB / 0.901 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/0.442, allocations: 114.8 kB / 0.9011 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.442, allocations: 39.98 kB / 0.9012 GB, free: 6.23 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 (QHea.nextEventScaled,QHea.nextEvent,$PRE.QHea.nextEvent,QHea.last,QHea.b,QHea.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.0006879/0.4427, allocations: 498.5 kB / 0.9016 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.4429, allocations: 134.3 kB / 0.9018 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.4454, allocations: 1.085 MB / 0.9028 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.4455, allocations: 8 kB / 0.9028 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4455, allocations: 0 / 0.9028 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.4455, allocations: 3.984 kB / 0.9028 GB, free: 4.496 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.003717/0.4492, allocations: 2.228 MB / 0.905 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4492, allocations: 0 / 0.905 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.4498, allocations: 136 kB / 0.9051 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.4498, allocations: 4 kB / 0.9052 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.4499, allocations: 15.98 kB / 0.9052 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4499, allocations: 8 kB / 0.9052 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4499, allocations: 0 / 0.9052 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.4521, allocations: 1.121 MB / 0.9063 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.4525, allocations: 307.3 kB / 0.9066 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.4527, allocations: 8 kB / 0.9066 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.4536, allocations: 123.8 kB / 0.9067 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.4537, allocations: 35.94 kB / 0.9067 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.4538, allocations: 27.92 kB / 0.9067 GB, free: 360 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001167/0.4549, allocations: 0.9028 MB / 0.9076 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4549, allocations: 0 / 0.9076 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001801/0.4568, allocations: 0.6861 MB / 0.9083 GB, free: 14.76 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,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 (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.0008911/0.4577, allocations: 468.2 kB / 0.9087 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003242/0.4609, allocations: 1.509 MB / 0.9102 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4609, allocations: 0 / 0.9102 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.462, allocations: 0.5007 MB / 0.9107 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.4647, allocations: 0.618 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.004206/0.469, allocations: 2.785 MB / 0.914 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.4697, allocations: 1.209 MB / 0.9152 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001136/0.4708, allocations: 291.8 kB / 0.9155 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4711, allocations: 107.4 kB / 0.9156 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.4711, allocations: 0 / 0.9156 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of Templates: time 0.4701/0.9412, allocations: 26.79 MB / 0.9418 GB, free: 127 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: