Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 100.4 kB / 16.27 MB, free: 6.418 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.00178/0.00178, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.485/1.485, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001699/0.001699, allocations: 75.84 kB / 0.6722 GB, free: 6.641 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2628, allocations: 114.5 MB / 0.784 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.4986/0.7615, allocations: 35.26 MB / 0.8185 GB, free: 27.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.7721, allocations: 6.798 MB / 0.8251 GB, free: 23.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/0.7742, allocations: 45.44 kB / 0.8251 GB, free: 23.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001749/0.776, allocations: 498.8 kB / 0.8256 GB, free: 22.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.7805, allocations: 1.264 MB / 0.8268 GB, free: 21.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.7839, allocations: 1.033 MB / 0.8279 GB, free: 21.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.7881, allocations: 2.236 MB / 0.83 GB, free: 20.27 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.7897, allocations: 0.7686 MB / 0.8308 GB, free: 19.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.7925, allocations: 0.9987 MB / 0.8318 GB, free: 19.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.794, allocations: 0.6442 MB / 0.8324 GB, free: 19.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.7942, allocations: 84.5 kB / 0.8325 GB, free: 19.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.7976, allocations: 0.9749 MB / 0.8334 GB, free: 18.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.7981, allocations: 212.3 kB / 0.8336 GB, free: 18.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.7992, allocations: 0.5222 MB / 0.8341 GB, free: 18.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.8036, allocations: 1.686 MB / 0.8358 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.749e-06/0.8036, allocations: 0.5156 kB / 0.8358 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8036, allocations: 0 / 0.8358 GB, free: 17.67 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.8037, allocations: 1 kB / 0.8358 GB, free: 17.67 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.003453/0.8072, allocations: 1.351 MB / 0.8371 GB, free: 16.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.8072, allocations: 13.16 kB / 0.8371 GB, free: 16.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.8103, allocations: 438.7 kB / 0.8375 GB, free: 16.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.8123, allocations: 0.8814 MB / 0.8384 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.8124, allocations: 46 kB / 0.8384 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.8125, allocations: 56.41 kB / 0.8385 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.8148, allocations: 0.8318 MB / 0.8393 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.8148, allocations: 5.203 kB / 0.8393 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.959e-05/0.8149, allocations: 22.47 kB / 0.8393 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.8149, allocations: 14.56 kB / 0.8394 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.8175, allocations: 0.7825 MB / 0.8401 GB, free: 15.37 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 preOpt removeSimpleEquations (simulation): time 0.007728/0.8253, allocations: 4.681 MB / 0.8447 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.8295, allocations: 0.8286 MB / 0.8455 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.8307, allocations: 365.4 kB / 0.8458 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009437/0.8317, allocations: 0.933 MB / 0.8468 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.8317, allocations: 45.73 kB / 0.8468 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 3.687e-06/0.8318, allocations: 0 / 0.8468 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.003968/0.8357, allocations: 1.02 MB / 0.8478 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.8358, allocations: 59.28 kB / 0.8479 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.8369, allocations: 0.7216 MB / 0.8486 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/0.837, allocations: 36.36 kB / 0.8486 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.8373, allocations: 451 kB / 0.849 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.8375, allocations: 125.4 kB / 0.8491 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.8377, allocations: 104.1 kB / 0.8492 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/0.8378, allocations: 323 kB / 0.8495 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.8388, allocations: 329.4 kB / 0.8499 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.84, allocations: 0.5007 MB / 0.8504 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/0.8421, allocations: 0.7344 MB / 0.8511 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8421, allocations: 1.438 kB / 0.8511 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002726/0.8449, allocations: 0.8577 MB / 0.8519 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.8449, allocations: 6.875 kB / 0.8519 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.8449, allocations: 5.438 kB / 0.8519 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.8449, allocations: 11.27 kB / 0.8519 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/0.8459, allocations: 183.7 kB / 0.8521 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.846, allocations: 9.328 kB / 0.8521 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.847, allocations: 116.5 kB / 0.8522 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.8471, allocations: 28.06 kB / 0.8523 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001346/0.8485, allocations: 0.4935 MB / 0.8527 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/0.8497, allocations: 0.5002 MB / 0.8532 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002043/0.8517, allocations: 0.7322 MB / 0.8539 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.8517, allocations: 1.031 kB / 0.8539 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002631/0.8544, allocations: 0.8511 MB / 0.8548 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8544, allocations: 10.53 kB / 0.8548 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.8544, allocations: 6.391 kB / 0.8548 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.8544, allocations: 6.219 kB / 0.8548 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.8553, allocations: 185.2 kB / 0.855 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.8554, allocations: 6.75 kB / 0.855 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.8565, allocations: 111.3 kB / 0.8551 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.8565, allocations: 30.31 kB / 0.8551 GB, free: 6.227 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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.0002416/0.8568, allocations: 210 kB / 0.8553 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.857, allocations: 96.52 kB / 0.8554 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.8598, allocations: 0.9304 MB / 0.8563 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.8598, allocations: 9.953 kB / 0.8563 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8598, allocations: 0.75 kB / 0.8563 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.8599, allocations: 6.297 kB / 0.8563 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.8639, allocations: 1.83 MB / 0.8581 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.8639, allocations: 2.969 kB / 0.8581 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.8647, allocations: 148.1 kB / 0.8583 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.8648, allocations: 2.5 kB / 0.8583 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.8648, allocations: 13.27 kB / 0.8583 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.485e-06/0.8648, allocations: 2.312 kB / 0.8583 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8648, allocations: 1.25 kB / 0.8583 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.8684, allocations: 1.389 MB / 0.8596 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.8689, allocations: 225 kB / 0.8598 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.8691, allocations: 13.55 kB / 0.8599 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007031/0.8698, allocations: 71.31 kB / 0.8599 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.8699, allocations: 33.55 kB / 0.86 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.8699, allocations: 21.55 kB / 0.86 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007904/0.8707, allocations: 0.4999 MB / 0.8605 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8707, allocations: 0 / 0.8605 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00155/0.8723, allocations: 437.7 kB / 0.8609 GB, free: 2.934 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0008648/0.8732, allocations: 314.8 kB / 0.8612 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.877, allocations: 1.197 MB / 0.8624 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.877, allocations: 0.9375 kB / 0.8624 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8783, allocations: 409 kB / 0.8627 GB, free: 2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.8801, allocations: 357.7 kB / 0.8631 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/0.8869, allocations: 1.965 MB / 0.865 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.8875, allocations: 0.9695 MB / 0.866 GB, free: 15.82 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.8879, allocations: 87.47 kB / 0.866 GB, free: 15.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.113e-06/0.8879, allocations: 0 / 0.866 GB, free: 15.8 MB / 0.67 GB Notification: Performance of Templates: time 0.03173/0.9197, allocations: 15.39 MB / 0.8811 GB, free: 6.973 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)