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.406/1.406, allocations: 252 MB / 267.3 MB, free: 10.85 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.001152/0.001152, allocations: 179.2 kB / 327 MB, free: 2.098 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.702/1.702, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0009007/0.0009007, allocations: 86.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 6.594 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.225, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03239/0.2574, allocations: 34.32 MB / 0.9344 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009395/0.2669, allocations: 6.758 MB / 0.941 GB, free: 22.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.2681, allocations: 43.69 kB / 0.9411 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.2693, allocations: 397.8 kB / 0.9414 GB, free: 21.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.2723, allocations: 1.17 MB / 0.9426 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.2744, allocations: 0.9292 MB / 0.9435 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.277, allocations: 2.876 MB / 0.9463 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007455/0.2778, allocations: 0.6098 MB / 0.9469 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2793, allocations: 0.8826 MB / 0.9478 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006347/0.28, allocations: 0.622 MB / 0.9484 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.2801, allocations: 32 kB / 0.9484 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.2818, allocations: 0.8848 MB / 0.9493 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.282, allocations: 143.2 kB / 0.9494 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.2824, allocations: 495 kB / 0.9499 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.2841, allocations: 1.62 MB / 0.9515 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2841, allocations: 8 kB / 0.9515 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2841, allocations: 0 / 0.9515 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2841, allocations: 0 / 0.9515 GB, free: 11.46 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.001876/0.286, allocations: 1.18 MB / 0.9526 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.286, allocations: 12.03 kB / 0.9526 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.81e-05/0.2862, allocations: 94.7 kB / 0.9527 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.2885, allocations: 0.5069 MB / 0.9532 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2898, allocations: 0.8804 MB / 0.9541 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2898, allocations: 49.25 kB / 0.9541 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.2899, allocations: 64 kB / 0.9542 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.2915, allocations: 0.8631 MB / 0.955 GB, free: 7.668 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2915, allocations: 3.938 kB / 0.955 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.2916, allocations: 28 kB / 0.9551 GB, free: 7.637 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2916, allocations: 16 kB / 0.9551 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.2936, allocations: 0.856 MB / 0.9559 GB, free: 6.766 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.004853/0.2985, allocations: 4.707 MB / 0.9605 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.302, allocations: 0.9627 MB / 0.9614 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.303, allocations: 405.6 kB / 0.9618 GB, free: 300 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008745/0.3039, allocations: 0.9494 MB / 0.9628 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3039, allocations: 38.5 kB / 0.9628 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 3.837e-06/0.3039, allocations: 0 / 0.9628 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.003327/0.3073, allocations: 1.149 MB / 0.9639 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3073, allocations: 59.34 kB / 0.964 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009267/0.3082, allocations: 0.7278 MB / 0.9647 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.3083, allocations: 33.7 kB / 0.9647 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.3087, allocations: 443.9 kB / 0.9651 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.3088, allocations: 118.3 kB / 0.9652 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.3088, allocations: 12 kB / 0.9653 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3089, allocations: 322 kB / 0.9656 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009932/0.3099, allocations: 364.9 kB / 0.9659 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.3111, allocations: 0.5503 MB / 0.9664 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.3131, allocations: 0.8234 MB / 0.9673 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3131, allocations: 0 / 0.9673 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002352/0.3154, allocations: 0.9373 MB / 0.9682 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.3156, allocations: 218.7 kB / 0.9684 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3156, allocations: 8 kB / 0.9684 GB, free: 9.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3156, allocations: 4 kB / 0.9684 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/0.3165, allocations: 215.7 kB / 0.9686 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.3166, allocations: 11.98 kB / 0.9686 GB, free: 8.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.3175, allocations: 159.4 kB / 0.9688 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.3176, allocations: 23.98 kB / 0.9688 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.3176, allocations: 7.984 kB / 0.9688 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00218/0.3198, allocations: 0.8308 MB / 0.9696 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3198, allocations: 8 kB / 0.9696 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.3198, allocations: 8.656 kB / 0.9696 GB, free: 7.836 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.3207, allocations: 223.6 kB / 0.9698 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3207, allocations: 4 kB / 0.9698 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.3217, allocations: 163.5 kB / 0.97 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.3217, allocations: 23.98 kB / 0.97 GB, free: 7.43 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.0004412/0.3222, allocations: 316.9 kB / 0.9703 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.3223, allocations: 82.95 kB / 0.9704 GB, free: 7.027 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.325, allocations: 1.02 MB / 0.9714 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.325, allocations: 4 kB / 0.9714 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.325, allocations: 0 / 0.9714 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.325, allocations: 3.984 kB / 0.9714 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.329, allocations: 1.917 MB / 0.9733 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.329, allocations: 0 / 0.9733 GB, free: 4.016 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/0.3299, allocations: 179.9 kB / 0.9734 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.3299, allocations: 0 / 0.9734 GB, free: 3.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.33, allocations: 15.98 kB / 0.9735 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.33, allocations: 3.938 kB / 0.9735 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.33, allocations: 0 / 0.9735 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.3337, allocations: 1.51 MB / 0.9749 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.3342, allocations: 239.7 kB / 0.9752 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.3343, allocations: 12 kB / 0.9752 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008765/0.3352, allocations: 119.9 kB / 0.9753 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3353, allocations: 31.89 kB / 0.9753 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.3354, allocations: 19.98 kB / 0.9753 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008639/0.3363, allocations: 0.499 MB / 0.9758 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3363, allocations: 0 / 0.9758 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001547/0.3378, allocations: 431.1 kB / 0.9762 GB, free: 0.9297 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.00482/0.3427, allocations: 2.283 MB / 0.9785 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.3466, allocations: 1.296 MB / 0.9797 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3466, allocations: 0 / 0.9797 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3478, allocations: 447.7 kB / 0.9802 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.3499, allocations: 353.2 kB / 0.9805 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.3681, allocations: 7.924 MB / 0.9882 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.3687, allocations: 0.9773 MB / 0.9892 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001108/0.3699, allocations: 213.1 kB / 0.9894 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.3704, allocations: 335.3 kB / 0.9897 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.3704, allocations: 0 / 0.9897 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.4134, allocations: 21.71 MB / 1.011 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.4137, allocations: 277.9 kB / 1.011 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/3.415, allocations: 0 / 1.011 GB, free: 13.08 MB / 0.6667 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)