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.001209/0.001209, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001441/0.001441, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.762/1.762, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005032/0.0005032, allocations: 15.06 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.248, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02926/0.2773, allocations: 29.62 MB / 0.8162 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00832/0.2856, allocations: 5.893 MB / 0.8219 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.2865, allocations: 39.69 kB / 0.8219 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.2877, allocations: 409.9 kB / 0.8223 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.2903, allocations: 1.079 MB / 0.8234 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.2927, allocations: 0.8734 MB / 0.8242 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.295, allocations: 1.334 MB / 0.8255 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008155/0.2958, allocations: 0.5827 MB / 0.8261 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.2972, allocations: 0.7706 MB / 0.8269 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.2977, allocations: 437.9 kB / 0.8273 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.2978, allocations: 36 kB / 0.8273 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.2991, allocations: 0.5851 MB / 0.8279 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.2992, allocations: 135.4 kB / 0.828 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.2994, allocations: 221.2 kB / 0.8282 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3006, allocations: 1.13 MB / 0.8293 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3006, allocations: 0 / 0.8293 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3006, allocations: 0 / 0.8293 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.3006, allocations: 0 / 0.8293 GB, free: 0.6523 MB / 0.6387 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.002094/0.3027, allocations: 1.183 MB / 0.8305 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3028, allocations: 8.031 kB / 0.8305 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.3029, allocations: 98.52 kB / 0.8306 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.3055, allocations: 0.506 MB / 0.8311 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.3069, allocations: 0.846 MB / 0.8319 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.307, allocations: 45.31 kB / 0.832 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3071, allocations: 60 kB / 0.832 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.3089, allocations: 0.8671 MB / 0.8329 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.309, allocations: 0 / 0.8329 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.309, allocations: 20 kB / 0.8329 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.309, allocations: 16 kB / 0.8329 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.3114, allocations: 0.8599 MB / 0.8337 GB, free: 11.99 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.006226/0.3177, allocations: 4.695 MB / 0.8383 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003852/0.3215, allocations: 0.9665 MB / 0.8393 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009397/0.3225, allocations: 0.9494 MB / 0.8402 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3225, allocations: 38.56 kB / 0.8402 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=35): time 2.434e-06/0.3225, allocations: 0 / 0.8402 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.003459/0.326, allocations: 1.143 MB / 0.8413 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.3261, allocations: 59.41 kB / 0.8414 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.327, allocations: 0.7239 MB / 0.8421 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.999e-05/0.3271, allocations: 29.7 kB / 0.8421 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3274, allocations: 444 kB / 0.8426 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3275, allocations: 126.2 kB / 0.8427 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.3276, allocations: 12 kB / 0.8427 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3277, allocations: 322 kB / 0.843 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3288, allocations: 360.9 kB / 0.8433 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.33, allocations: 0.5468 MB / 0.8439 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.3311, allocations: 379.5 kB / 0.8442 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3311, allocations: 4 kB / 0.8442 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002506/0.3336, allocations: 0.9253 MB / 0.8451 GB, free: 15.56 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007301/0.3344, allocations: 1.671 MB / 0.8468 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3344, allocations: 4 kB / 0.8468 GB, free: 13.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3344, allocations: 8 kB / 0.8468 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.3354, allocations: 215.7 kB / 0.847 GB, free: 13.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3354, allocations: 7.938 kB / 0.847 GB, free: 13.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3365, allocations: 167.3 kB / 0.8472 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.3365, allocations: 27.98 kB / 0.8472 GB, free: 13.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.3366, allocations: 6.812 kB / 0.8472 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002264/0.3388, allocations: 0.8387 MB / 0.848 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3388, allocations: 4.562 kB / 0.848 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.3389, allocations: 8 kB / 0.848 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.3398, allocations: 211.7 kB / 0.8482 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3398, allocations: 8 kB / 0.8482 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009425/0.3408, allocations: 163.5 kB / 0.8484 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.3408, allocations: 23.98 kB / 0.8484 GB, free: 12.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004128/0.3412, allocations: 309 kB / 0.8487 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3414, allocations: 90.92 kB / 0.8488 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002823/0.3442, allocations: 1.018 MB / 0.8498 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.3442, allocations: 8 kB / 0.8498 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3442, allocations: 0 / 0.8498 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3443, allocations: 0 / 0.8498 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.3483, allocations: 1.918 MB / 0.8517 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.3484, allocations: 3.984 kB / 0.8517 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/0.3492, allocations: 179.9 kB / 0.8518 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.3493, allocations: 4 kB / 0.8519 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.3493, allocations: 11.98 kB / 0.8519 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.3493, allocations: 4 kB / 0.8519 GB, free: 8.469 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3493, allocations: 3.938 kB / 0.8519 GB, free: 8.465 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/0.3532, allocations: 1.535 MB / 0.8534 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.3536, allocations: 235.9 kB / 0.8536 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3537, allocations: 11.95 kB / 0.8536 GB, free: 6.617 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.3545, allocations: 127.8 kB / 0.8537 GB, free: 6.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.3546, allocations: 31.95 kB / 0.8538 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.3547, allocations: 23.92 kB / 0.8538 GB, free: 6.438 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007152/0.3554, allocations: 0.499 MB / 0.8543 GB, free: 5.945 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3554, allocations: 0 / 0.8543 GB, free: 5.945 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001306/0.3567, allocations: 431.2 kB / 0.8547 GB, free: 5.523 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004643/0.3614, allocations: 2.506 MB / 0.8571 GB, free: 2.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.3652, allocations: 1.276 MB / 0.8584 GB, free: 1.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3652, allocations: 4 kB / 0.8584 GB, free: 1.699 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.3664, allocations: 445.6 kB / 0.8588 GB, free: 1.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.3681, allocations: 349.3 kB / 0.8591 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01606/0.3842, allocations: 8.587 MB / 0.8675 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.3848, allocations: 0.9907 MB / 0.8685 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001042/0.3859, allocations: 208.7 kB / 0.8687 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.3864, allocations: 335.3 kB / 0.869 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of SimCode: time 6.51e-07/0.3864, allocations: 3.938 kB / 0.869 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04366/0.4301, allocations: 23.35 MB / 0.8918 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.4303, allocations: 244.7 kB / 0.892 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.82, allocations: 0 / 0.892 GB, free: 15.43 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/linux/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) Environment - environmentSimulation: