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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001252, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.276/1.276, allocations: 205.1 MB / 222.4 MB, free: 4.441 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.563/1.563, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001349/0.001349, allocations: 78.59 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2002, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03127/0.2315, allocations: 35.27 MB / 0.8179 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008694/0.2402, allocations: 6.803 MB / 0.8246 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2413, allocations: 43.75 kB / 0.8246 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.2426, allocations: 492.7 kB / 0.8251 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.2458, allocations: 1.274 MB / 0.8263 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.2483, allocations: 1.029 MB / 0.8273 GB, free: 328 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.2514, allocations: 2.224 MB / 0.8295 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.2525, allocations: 0.7689 MB / 0.8302 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.2546, allocations: 1.008 MB / 0.8312 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2557, allocations: 0.6378 MB / 0.8318 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.2559, allocations: 84 kB / 0.8319 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.2578, allocations: 0.9787 MB / 0.8329 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.258, allocations: 211.2 kB / 0.8331 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.2587, allocations: 0.5248 MB / 0.8336 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.2609, allocations: 1.675 MB / 0.8352 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.261, allocations: 4 kB / 0.8352 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.273e-06/0.261, allocations: 0 / 0.8352 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.261, allocations: 0 / 0.8352 GB, free: 8.168 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.002355/0.2634, allocations: 1.355 MB / 0.8366 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2634, allocations: 16.03 kB / 0.8366 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.2635, allocations: 102.7 kB / 0.8367 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.266, allocations: 442.7 kB / 0.8371 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2673, allocations: 0.8842 MB / 0.838 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.2673, allocations: 45.31 kB / 0.838 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.2674, allocations: 60 kB / 0.8381 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.2692, allocations: 0.8318 MB / 0.8389 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2692, allocations: 4 kB / 0.8389 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.2692, allocations: 20 kB / 0.8389 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.2693, allocations: 16 kB / 0.8389 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.2715, allocations: 0.7817 MB / 0.8397 GB, free: 3.469 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.005364/0.2769, allocations: 4.676 MB / 0.8442 GB, free: 14.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.2806, allocations: 0.826 MB / 0.845 GB, free: 13.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.2816, allocations: 371.1 kB / 0.8454 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009278/0.2826, allocations: 0.9375 MB / 0.8463 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.2826, allocations: 46.55 kB / 0.8464 GB, free: 12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 1.873e-06/0.2826, allocations: 0 / 0.8464 GB, free: 12 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003211/0.2858, allocations: 1.01 MB / 0.8473 GB, free: 10.99 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2859, allocations: 55.41 kB / 0.8474 GB, free: 10.92 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/0.2868, allocations: 0.7317 MB / 0.8481 GB, free: 10.18 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.2868, allocations: 29.7 kB / 0.8481 GB, free: 10.15 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.2871, allocations: 451.9 kB / 0.8486 GB, free: 9.699 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2873, allocations: 130.1 kB / 0.8487 GB, free: 9.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.2874, allocations: 110.1 kB / 0.8488 GB, free: 9.457 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.2875, allocations: 326 kB / 0.8491 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000987/0.2885, allocations: 330.8 kB / 0.8494 GB, free: 8.805 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.2897, allocations: 0.4994 MB / 0.8499 GB, free: 8.227 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.2917, allocations: 0.726 MB / 0.8506 GB, free: 7.441 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2917, allocations: 8 kB / 0.8506 GB, free: 7.434 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002335/0.294, allocations: 0.8661 MB / 0.8515 GB, free: 6.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2941, allocations: 7.984 kB / 0.8515 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2941, allocations: 4.562 kB / 0.8515 GB, free: 6.547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2941, allocations: 8 kB / 0.8515 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008782/0.295, allocations: 179.7 kB / 0.8517 GB, free: 6.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.295, allocations: 15.98 kB / 0.8517 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.2958, allocations: 107.5 kB / 0.8518 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.2959, allocations: 31.98 kB / 0.8518 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/0.2971, allocations: 0.4893 MB / 0.8523 GB, free: 5.719 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.2982, allocations: 0.5028 MB / 0.8528 GB, free: 5.141 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001902/0.3001, allocations: 0.7263 MB / 0.8535 GB, free: 4.355 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.3001, allocations: 0 / 0.8535 GB, free: 4.355 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002233/0.3023, allocations: 0.859 MB / 0.8543 GB, free: 3.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3024, allocations: 11.94 kB / 0.8543 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3024, allocations: 7.938 kB / 0.8544 GB, free: 3.469 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.3024, allocations: 4 kB / 0.8544 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.3032, allocations: 188 kB / 0.8545 GB, free: 3.281 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3033, allocations: 7.938 kB / 0.8545 GB, free: 3.273 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.3041, allocations: 111.6 kB / 0.8547 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.3042, allocations: 23.98 kB / 0.8547 GB, free: 3.141 MB / 0.67 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.0001944/0.3044, allocations: 216.1 kB / 0.8549 GB, free: 2.922 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3045, allocations: 82.91 kB / 0.855 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.3071, allocations: 0.9334 MB / 0.8559 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.3072, allocations: 7.984 kB / 0.8559 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3072, allocations: 0 / 0.8559 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3072, allocations: 0 / 0.8559 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.3108, allocations: 1.832 MB / 0.8577 GB, free: 0 / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.3109, allocations: 4.047 kB / 0.8577 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.3116, allocations: 143.8 kB / 0.8578 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3117, allocations: 0 / 0.8578 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.3117, allocations: 23.97 kB / 0.8578 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3117, allocations: 0 / 0.8578 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3117, allocations: 4 kB / 0.8578 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.3151, allocations: 1.381 MB / 0.8592 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.3154, allocations: 235.9 kB / 0.8594 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3155, allocations: 12 kB / 0.8594 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/0.3162, allocations: 67.97 kB / 0.8595 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.3163, allocations: 35.89 kB / 0.8595 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/0.3163, allocations: 15.98 kB / 0.8595 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005873/0.3169, allocations: 0.5068 MB / 0.86 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3169, allocations: 0 / 0.86 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001076/0.318, allocations: 427 kB / 0.8604 GB, free: 13.12 MB / 0.6856 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.003989/0.322, allocations: 2.153 MB / 0.8625 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.3253, allocations: 1.191 MB / 0.8637 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3253, allocations: 0 / 0.8637 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.3264, allocations: 412.3 kB / 0.8641 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.3279, allocations: 359.7 kB / 0.8644 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.3422, allocations: 7.222 MB / 0.8715 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.3427, allocations: 0.9696 MB / 0.8724 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000872/0.3436, allocations: 205.5 kB / 0.8726 GB, free: 316 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.344, allocations: 335.4 kB / 0.873 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of SimCode: time 5.41e-07/0.344, allocations: 0 / 0.873 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04221/0.3862, allocations: 22.65 MB / 0.8951 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.106/7.492, allocations: 3.75 kB / 0.8951 GB, free: 9.73 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)