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.473/1.473, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001166/0.001167, allocations: 181.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.5775 GB, free: 20.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.001091/0.001091, allocations: 114.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 13.27 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2592, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02455/0.2838, allocations: 29.62 MB / 0.9291 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009503/0.2934, allocations: 5.893 MB / 0.9348 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.2951, allocations: 39.69 kB / 0.9349 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.2966, allocations: 406 kB / 0.9353 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.3004, allocations: 1.081 MB / 0.9363 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3031, allocations: 0.8347 MB / 0.9371 GB, free: 25.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002547/0.3056, allocations: 1.328 MB / 0.9384 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008563/0.3065, allocations: 0.5791 MB / 0.939 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.308, allocations: 0.7668 MB / 0.9397 GB, free: 23.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.3085, allocations: 445.9 kB / 0.9402 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.3086, allocations: 28 kB / 0.9402 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.3101, allocations: 0.5889 MB / 0.9408 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3103, allocations: 139.4 kB / 0.9409 GB, free: 22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3105, allocations: 225.1 kB / 0.9411 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3116, allocations: 1.126 MB / 0.9422 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3116, allocations: 0 / 0.9422 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3116, allocations: 4 kB / 0.9422 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.3117, allocations: 4 kB / 0.9422 GB, free: 20.64 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.00197/0.3136, allocations: 1.176 MB / 0.9434 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3137, allocations: 12.03 kB / 0.9434 GB, free: 19.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.3138, allocations: 102.5 kB / 0.9435 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/0.3164, allocations: 0.4982 MB / 0.944 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.3177, allocations: 0.8422 MB / 0.9448 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/0.3178, allocations: 49.31 kB / 0.9448 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.078e-05/0.3179, allocations: 56 kB / 0.9449 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.3196, allocations: 0.8592 MB / 0.9457 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3196, allocations: 7.938 kB / 0.9457 GB, free: 16.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.3197, allocations: 28 kB / 0.9458 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3197, allocations: 19.95 kB / 0.9458 GB, free: 16.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.3218, allocations: 0.8482 MB / 0.9466 GB, free: 15.99 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.005321/0.3272, allocations: 4.691 MB / 0.9512 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.3307, allocations: 0.9782 MB / 0.9521 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000773/0.3315, allocations: 0.9415 MB / 0.9531 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3315, allocations: 38.56 kB / 0.9531 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 3.657e-06/0.3316, allocations: 0 / 0.9531 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.003173/0.3347, allocations: 1.137 MB / 0.9542 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3348, allocations: 59.27 kB / 0.9543 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008891/0.3357, allocations: 0.7278 MB / 0.955 GB, free: 6.773 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.3358, allocations: 33.7 kB / 0.955 GB, free: 6.734 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3361, allocations: 444 kB / 0.9554 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3362, allocations: 126.2 kB / 0.9555 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.3362, allocations: 4 kB / 0.9556 GB, free: 6.168 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.3363, allocations: 333.9 kB / 0.9559 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.3373, allocations: 360.9 kB / 0.9562 GB, free: 5.484 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.3384, allocations: 0.5425 MB / 0.9567 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009555/0.3393, allocations: 375.5 kB / 0.9571 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3393, allocations: 3.984 kB / 0.9571 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002257/0.3416, allocations: 0.9406 MB / 0.958 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003684/0.342, allocations: 1.651 MB / 0.9596 GB, free: 1.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.342, allocations: 7.938 kB / 0.9596 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.342, allocations: 8 kB / 0.9597 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008704/0.3429, allocations: 219.7 kB / 0.9599 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3429, allocations: 8 kB / 0.9599 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.344, allocations: 171.3 kB / 0.96 GB, free: 1.359 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.344, allocations: 27.92 kB / 0.9601 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.3441, allocations: 4 kB / 0.9601 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002016/0.3461, allocations: 0.8271 MB / 0.9609 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3461, allocations: 4 kB / 0.9609 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.3461, allocations: 8 kB / 0.9609 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.3469, allocations: 211.9 kB / 0.9611 GB, free: 288 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3469, allocations: 15.92 kB / 0.9611 GB, free: 272 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.3479, allocations: 159.5 kB / 0.9613 GB, free: 112 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.348, allocations: 27.98 kB / 0.9613 GB, free: 84 kB / 0.6042 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.0004953/0.3485, allocations: 304.9 kB / 0.9616 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3486, allocations: 83.02 kB / 0.9616 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.3514, allocations: 1.019 MB / 0.9626 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.3514, allocations: 11.98 kB / 0.9627 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3514, allocations: 3.938 kB / 0.9627 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.3514, allocations: 0 / 0.9627 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.3556, allocations: 1.914 MB / 0.9645 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.3557, allocations: 0 / 0.9645 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.3565, allocations: 175.9 kB / 0.9647 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.3566, allocations: 0 / 0.9647 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.3566, allocations: 19.97 kB / 0.9647 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3566, allocations: 4 kB / 0.9647 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3566, allocations: 8 kB / 0.9647 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.3604, allocations: 1.539 MB / 0.9662 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005066/0.3609, allocations: 239.8 kB / 0.9665 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3611, allocations: 11.98 kB / 0.9665 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.3619, allocations: 127.9 kB / 0.9666 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.362, allocations: 23.97 kB / 0.9666 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.362, allocations: 19.97 kB / 0.9666 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007453/0.3628, allocations: 0.499 MB / 0.9671 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3628, allocations: 0 / 0.9671 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001453/0.3642, allocations: 431 kB / 0.9675 GB, free: 9.535 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 (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.004741/0.369, allocations: 2.516 MB / 0.97 GB, free: 6.984 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.373, allocations: 1.287 MB / 0.9712 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.373, allocations: 0 / 0.9712 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.3743, allocations: 451.7 kB / 0.9717 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.3766, allocations: 342 kB / 0.972 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.3957, allocations: 8.58 MB / 0.9804 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.3966, allocations: 0.9868 MB / 0.9813 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001344/0.3979, allocations: 217.5 kB / 0.9816 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/0.3986, allocations: 339.3 kB / 0.9819 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.3986, allocations: 0 / 0.9819 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/0.4555, allocations: 23.36 MB / 1.005 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.4559, allocations: 258 kB / 1.005 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.715/3.171, allocations: 0 / 1.005 GB, free: 3.246 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)