Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 251.5 MB / 266.7 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 176.3 kB / 325.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007464/0.0007465, allocations: 86.36 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 7.438 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1838, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.022/0.2058, allocations: 34.79 MB / 0.9302 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007289/0.2132, allocations: 6.826 MB / 0.9368 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.2143, allocations: 47.69 kB / 0.9369 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.2154, allocations: 397.8 kB / 0.9373 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.2181, allocations: 1.17 MB / 0.9384 GB, free: 24.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.2201, allocations: 0.9364 MB / 0.9393 GB, free: 23.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.2226, allocations: 2.872 MB / 0.9421 GB, free: 20.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.2234, allocations: 0.6076 MB / 0.9427 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2249, allocations: 0.8826 MB / 0.9436 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.2255, allocations: 0.6143 MB / 0.9442 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.2256, allocations: 32 kB / 0.9442 GB, free: 18.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.2271, allocations: 0.8848 MB / 0.9451 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2272, allocations: 159.2 kB / 0.9452 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.2276, allocations: 457.5 kB / 0.9457 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.229, allocations: 1.62 MB / 0.9472 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.229, allocations: 0 / 0.9472 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.229, allocations: 4 kB / 0.9472 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.2291, allocations: 0 / 0.9472 GB, free: 15.57 MB / 0.6042 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.001629/0.2307, allocations: 1.187 MB / 0.9484 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2307, allocations: 12.03 kB / 0.9484 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.2308, allocations: 94.7 kB / 0.9485 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.2331, allocations: 0.5069 MB / 0.949 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.2342, allocations: 0.8846 MB / 0.9499 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2342, allocations: 41.31 kB / 0.9499 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.2343, allocations: 64 kB / 0.95 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.2358, allocations: 0.8671 MB / 0.9508 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.2358, allocations: 3.938 kB / 0.9508 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.2359, allocations: 24 kB / 0.9508 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2359, allocations: 19.94 kB / 0.9509 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.2378, allocations: 0.8599 MB / 0.9517 GB, free: 10.86 MB / 0.6042 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.004507/0.2423, allocations: 4.695 MB / 0.9563 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.2456, allocations: 0.9666 MB / 0.9572 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.2465, allocations: 408.6 kB / 0.9576 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.2471, allocations: 0.9454 MB / 0.9585 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2472, allocations: 46.48 kB / 0.9586 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.336e-06/0.2472, allocations: 0 / 0.9586 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002767/0.2499, allocations: 1.145 MB / 0.9597 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.25, allocations: 59.41 kB / 0.9598 GB, free: 1.957 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.2506, allocations: 0.7239 MB / 0.9605 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.2507, allocations: 37.7 kB / 0.9605 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2509, allocations: 440 kB / 0.9609 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.251, allocations: 122.2 kB / 0.961 GB, free: 0.6211 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.251, allocations: 45.7 kB / 0.9611 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.2511, allocations: 326 kB / 0.9614 GB, free: 252 kB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.252, allocations: 360.9 kB / 0.9617 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2531, allocations: 0.5581 MB / 0.9623 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.2551, allocations: 0.8117 MB / 0.9631 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2551, allocations: 8 kB / 0.9631 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002426/0.2575, allocations: 0.9373 MB / 0.964 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.2577, allocations: 216.2 kB / 0.9642 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2577, allocations: 7.984 kB / 0.9642 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2577, allocations: 8 kB / 0.9642 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/0.2586, allocations: 215.7 kB / 0.9644 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.2586, allocations: 11.98 kB / 0.9644 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009872/0.2596, allocations: 159.4 kB / 0.9646 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.2597, allocations: 27.97 kB / 0.9646 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.2597, allocations: 6.344 kB / 0.9646 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002104/0.2618, allocations: 0.827 MB / 0.9654 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2618, allocations: 7.938 kB / 0.9654 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.2619, allocations: 8.562 kB / 0.9654 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.2627, allocations: 211.7 kB / 0.9656 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2627, allocations: 19.86 kB / 0.9657 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009519/0.2637, allocations: 159.5 kB / 0.9658 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.2638, allocations: 27.98 kB / 0.9658 GB, free: 11.48 MB / 0.6198 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.0004354/0.2642, allocations: 305 kB / 0.9661 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2643, allocations: 82.97 kB / 0.9662 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.2669, allocations: 1.011 MB / 0.9672 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.2669, allocations: 7.938 kB / 0.9672 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2669, allocations: 0 / 0.9672 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.2669, allocations: 3.984 kB / 0.9672 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.2705, allocations: 1.91 MB / 0.9691 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2705, allocations: 4 kB / 0.9691 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.2713, allocations: 175.9 kB / 0.9692 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.2713, allocations: 4 kB / 0.9692 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.2714, allocations: 15.98 kB / 0.9693 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2714, allocations: 7.938 kB / 0.9693 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2714, allocations: 0 / 0.9693 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.2747, allocations: 1.506 MB / 0.9707 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.2751, allocations: 239.9 kB / 0.971 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2752, allocations: 27.91 kB / 0.971 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.2759, allocations: 115.9 kB / 0.9711 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.276, allocations: 27.97 kB / 0.9711 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.2761, allocations: 19.97 kB / 0.9712 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000612/0.2767, allocations: 0.5029 MB / 0.9716 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2767, allocations: 0 / 0.9716 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001155/0.2779, allocations: 427.1 kB / 0.972 GB, free: 4.984 MB / 0.6198 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.004141/0.282, allocations: 2.28 MB / 0.9743 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003245/0.2853, allocations: 1.293 MB / 0.9755 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2853, allocations: 0 / 0.9755 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.2864, allocations: 447.8 kB / 0.976 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.2881, allocations: 353.1 kB / 0.9763 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.3054, allocations: 7.874 MB / 0.984 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.3061, allocations: 0.9773 MB / 0.9849 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001097/0.3072, allocations: 217.7 kB / 0.9852 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005589/0.3078, allocations: 335.3 kB / 0.9855 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.3078, allocations: 0 / 0.9855 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8465/1.154, allocations: 21.71 MB / 1.007 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000266/1.155, allocations: 282.2 kB / 1.007 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/3.7, allocations: 0 / 1.007 GB, free: 1.188 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)