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.001121/0.001122, allocations: 109.4 kB / 15.69 MB, free: 128 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.001086/0.001086, allocations: 188 kB / 16.62 MB, free: 6.582 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.309/1.309, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.618/1.618, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001386/0.001387, allocations: 73.03 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03086/0.2496, allocations: 35.27 MB / 0.8181 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008984/0.2587, allocations: 6.808 MB / 0.8247 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.2597, allocations: 47.69 kB / 0.8248 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.261, allocations: 492.7 kB / 0.8252 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.264, allocations: 1.266 MB / 0.8265 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.2663, allocations: 1.044 MB / 0.8275 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.269, allocations: 2.235 MB / 0.8297 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.2699, allocations: 0.7689 MB / 0.8304 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.2716, allocations: 1.008 MB / 0.8314 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007445/0.2724, allocations: 0.6494 MB / 0.832 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.2725, allocations: 84 kB / 0.8321 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.2743, allocations: 0.971 MB / 0.8331 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.2745, allocations: 219.1 kB / 0.8333 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004763/0.275, allocations: 0.517 MB / 0.8338 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.277, allocations: 1.698 MB / 0.8354 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.277, allocations: 0 / 0.8354 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2771, allocations: 3.938 kB / 0.8354 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.2771, allocations: 0 / 0.8354 GB, free: 7.988 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.00214/0.2792, allocations: 1.355 MB / 0.8368 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2793, allocations: 12.03 kB / 0.8368 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.2794, allocations: 94.7 kB / 0.8369 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.2818, allocations: 442.7 kB / 0.8373 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2832, allocations: 0.9428 MB / 0.8382 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.2833, allocations: 49.31 kB / 0.8383 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.2834, allocations: 64 kB / 0.8383 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.2851, allocations: 0.8202 MB / 0.8391 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2851, allocations: 0 / 0.8391 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.2852, allocations: 24 kB / 0.8391 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.2852, allocations: 19.94 kB / 0.8392 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.2874, allocations: 0.7739 MB / 0.8399 GB, free: 3.25 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.005485/0.2929, allocations: 4.656 MB / 0.8445 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/0.2965, allocations: 0.8337 MB / 0.8453 GB, free: 13.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/0.2976, allocations: 360.6 kB / 0.8456 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000889/0.2985, allocations: 0.9415 MB / 0.8465 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.2985, allocations: 34.56 kB / 0.8466 GB, free: 11.81 MB / 0.67 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/0.2985, allocations: 0 / 0.8466 GB, free: 11.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=35): time 0.003315/0.3018, allocations: 1.03 MB / 0.8476 GB, free: 10.78 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3019, allocations: 59.34 kB / 0.8476 GB, free: 10.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/0.3028, allocations: 0.724 MB / 0.8483 GB, free: 9.977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.3028, allocations: 33.7 kB / 0.8484 GB, free: 9.938 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.3031, allocations: 444 kB / 0.8488 GB, free: 9.496 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3032, allocations: 126.1 kB / 0.8489 GB, free: 9.371 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.3034, allocations: 106.1 kB / 0.849 GB, free: 9.262 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3036, allocations: 330 kB / 0.8493 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.3046, allocations: 326.8 kB / 0.8497 GB, free: 8.609 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.3057, allocations: 0.5111 MB / 0.8502 GB, free: 8.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.3078, allocations: 0.726 MB / 0.8509 GB, free: 7.234 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3078, allocations: 0 / 0.8509 GB, free: 7.234 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002388/0.3102, allocations: 0.8586 MB / 0.8517 GB, free: 6.367 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3103, allocations: 8 kB / 0.8517 GB, free: 6.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3103, allocations: 4 kB / 0.8517 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3103, allocations: 8 kB / 0.8517 GB, free: 6.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.3112, allocations: 188.2 kB / 0.8519 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3112, allocations: 11.94 kB / 0.8519 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.312, allocations: 115.4 kB / 0.852 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.3121, allocations: 23.98 kB / 0.852 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.3133, allocations: 0.4931 MB / 0.8525 GB, free: 5.52 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001078/0.3144, allocations: 0.4986 MB / 0.853 GB, free: 4.945 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/0.3163, allocations: 0.7378 MB / 0.8537 GB, free: 4.148 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.3163, allocations: 0 / 0.8537 GB, free: 4.148 MB / 0.67 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002302/0.3186, allocations: 0.8475 MB / 0.8546 GB, free: 3.293 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3187, allocations: 10.66 kB / 0.8546 GB, free: 3.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3187, allocations: 8 kB / 0.8546 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.3187, allocations: 8 kB / 0.8546 GB, free: 3.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008608/0.3195, allocations: 183.7 kB / 0.8548 GB, free: 3.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.3196, allocations: 8 kB / 0.8548 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008389/0.3204, allocations: 107.8 kB / 0.8549 GB, free: 2.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.3205, allocations: 27.98 kB / 0.8549 GB, free: 2.949 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.0001885/0.3207, allocations: 216 kB / 0.8551 GB, free: 2.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3208, allocations: 90.89 kB / 0.8552 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.3235, allocations: 0.9365 MB / 0.8561 GB, free: 1.703 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3235, allocations: 7.938 kB / 0.8561 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3235, allocations: 0 / 0.8561 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3235, allocations: 7.922 kB / 0.8561 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.3273, allocations: 1.816 MB / 0.8579 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3273, allocations: 0 / 0.8579 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.3281, allocations: 147.9 kB / 0.858 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.3281, allocations: 4 kB / 0.858 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.3282, allocations: 19.98 kB / 0.8581 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3282, allocations: 4 kB / 0.8581 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3282, allocations: 3.938 kB / 0.8581 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.3317, allocations: 1.389 MB / 0.8594 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.332, allocations: 227.9 kB / 0.8596 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3321, allocations: 11.98 kB / 0.8596 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.3328, allocations: 75.97 kB / 0.8597 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3329, allocations: 27.91 kB / 0.8597 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.333, allocations: 23.97 kB / 0.8598 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006286/0.3336, allocations: 0.5029 MB / 0.8603 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3336, allocations: 0 / 0.8603 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001171/0.3348, allocations: 431 kB / 0.8607 GB, free: 12.9 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.004254/0.3391, allocations: 2.145 MB / 0.8628 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003421/0.3425, allocations: 1.17 MB / 0.8639 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3425, allocations: 4 kB / 0.8639 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.3436, allocations: 403.8 kB / 0.8643 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.3452, allocations: 346.6 kB / 0.8646 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/0.3608, allocations: 6.97 MB / 0.8714 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/0.3613, allocations: 0.9699 MB / 0.8724 GB, free: 0.6055 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008545/0.3622, allocations: 213.7 kB / 0.8726 GB, free: 408 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.3627, allocations: 335.3 kB / 0.8729 GB, free: 72 kB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.3627, allocations: 0 / 0.8729 GB, free: 72 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.4095, allocations: 22.65 MB / 0.895 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.1, allocations: 11.67 kB / 0.895 GB, free: 9.836 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-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)