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.383/1.383, allocations: 252 MB / 267 MB, free: 10.95 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.0009983/0.0009984, allocations: 186.3 kB / 326.6 MB, free: 2.195 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.685/1.685, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0008098/0.0008099, allocations: 88.64 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004238, allocations: 11.16 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2314, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.02392/0.2554, allocations: 32.5 MB / 0.932 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008502/0.264, allocations: 6.363 MB / 0.9383 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.2656, allocations: 43.69 kB / 0.9383 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.2669, allocations: 333.7 kB / 0.9386 GB, free: 24.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.27, allocations: 0.9908 MB / 0.9396 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.2722, allocations: 0.7235 MB / 0.9403 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2749, allocations: 2.489 MB / 0.9427 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008705/0.2757, allocations: 0.5595 MB / 0.9433 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.2772, allocations: 0.7969 MB / 0.944 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.2778, allocations: 0.5755 MB / 0.9446 GB, free: 18.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.2779, allocations: 32 kB / 0.9446 GB, free: 18.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.2794, allocations: 0.7133 MB / 0.9453 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.2795, allocations: 147.3 kB / 0.9455 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.2798, allocations: 221.2 kB / 0.9457 GB, free: 17.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2809, allocations: 1.185 MB / 0.9468 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2809, allocations: 0 / 0.9468 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2809, allocations: 0 / 0.9468 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.2809, allocations: 0 / 0.9468 GB, free: 16.36 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.002216/0.2832, allocations: 1.191 MB / 0.948 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.2832, allocations: 12.03 kB / 0.948 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.2834, allocations: 102.5 kB / 0.9481 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.286, allocations: 0.5021 MB / 0.9486 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.2876, allocations: 0.85 MB / 0.9494 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.2876, allocations: 49.3 kB / 0.9495 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.2878, allocations: 56 kB / 0.9495 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.2896, allocations: 0.8671 MB / 0.9504 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.2897, allocations: 3.938 kB / 0.9504 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.2898, allocations: 31.98 kB / 0.9504 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.2898, allocations: 15.95 kB / 0.9504 GB, free: 12.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.292, allocations: 0.8521 MB / 0.9513 GB, free: 11.68 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.00564/0.2977, allocations: 4.703 MB / 0.9559 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/0.3013, allocations: 0.9612 MB / 0.9568 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009319/0.3023, allocations: 405.7 kB / 0.9572 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007265/0.303, allocations: 0.9494 MB / 0.9581 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.303, allocations: 34.56 kB / 0.9581 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.866e-06/0.303, allocations: 3.938 kB / 0.9581 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.003064/0.3061, allocations: 1.145 MB / 0.9593 GB, free: 2.867 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3062, allocations: 59.39 kB / 0.9593 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.3069, allocations: 0.716 MB / 0.96 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.307, allocations: 37.7 kB / 0.9601 GB, free: 2.023 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.3072, allocations: 436 kB / 0.9605 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.3073, allocations: 134.2 kB / 0.9606 GB, free: 1.461 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3073, allocations: 4 kB / 0.9606 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.3074, allocations: 329.9 kB / 0.9609 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009589/0.3084, allocations: 360.9 kB / 0.9613 GB, free: 0.7773 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3094, allocations: 0.5425 MB / 0.9618 GB, free: 160 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3104, allocations: 375.5 kB / 0.9621 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3105, allocations: 4 kB / 0.9622 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002468/0.3129, allocations: 0.9333 MB / 0.9631 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.3131, allocations: 212.5 kB / 0.9633 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3132, allocations: 8 kB / 0.9633 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.607e-05/0.3132, allocations: 8 kB / 0.9633 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.3142, allocations: 219.6 kB / 0.9635 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3142, allocations: 8 kB / 0.9635 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.3153, allocations: 163.4 kB / 0.9637 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.3154, allocations: 31.94 kB / 0.9637 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.3154, allocations: 7.938 kB / 0.9637 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/0.3178, allocations: 0.8267 MB / 0.9645 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3178, allocations: 4 kB / 0.9645 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.3178, allocations: 8.562 kB / 0.9645 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.3187, allocations: 215.7 kB / 0.9647 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3188, allocations: 7.938 kB / 0.9647 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.3198, allocations: 163.5 kB / 0.9649 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.3199, allocations: 23.98 kB / 0.9649 GB, free: 12.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005272/0.3204, allocations: 313 kB / 0.9652 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.3206, allocations: 86.94 kB / 0.9653 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.3234, allocations: 1.023 MB / 0.9663 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.3234, allocations: 8 kB / 0.9663 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3234, allocations: 0 / 0.9663 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3234, allocations: 3.984 kB / 0.9663 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004095/0.3275, allocations: 1.903 MB / 0.9682 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.547e-06/0.3275, allocations: 4 kB / 0.9682 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/0.3284, allocations: 175.9 kB / 0.9683 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.3285, allocations: 4 kB / 0.9683 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.3285, allocations: 16.08 kB / 0.9683 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.3285, allocations: 7.938 kB / 0.9684 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3285, allocations: 0 / 0.9684 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.3322, allocations: 1.506 MB / 0.9698 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.3326, allocations: 239.9 kB / 0.9701 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.3327, allocations: 11.98 kB / 0.9701 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/0.3335, allocations: 115.9 kB / 0.9702 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.3336, allocations: 35.97 kB / 0.9702 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.3337, allocations: 23.86 kB / 0.9702 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007118/0.3344, allocations: 0.4951 MB / 0.9707 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3344, allocations: 0 / 0.9707 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001288/0.3357, allocations: 435 kB / 0.9711 GB, free: 6.391 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.004652/0.3404, allocations: 2.244 MB / 0.9733 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003677/0.344, allocations: 1.291 MB / 0.9746 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3441, allocations: 0 / 0.9746 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.3453, allocations: 447.7 kB / 0.975 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.3471, allocations: 352.4 kB / 0.9753 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.3628, allocations: 5.921 MB / 0.9811 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005642/0.3635, allocations: 0.9663 MB / 0.9821 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001164/0.3646, allocations: 211.3 kB / 0.9823 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/0.3651, allocations: 339.3 kB / 0.9826 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.3652, allocations: 4 kB / 0.9826 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.4084, allocations: 23.25 MB / 1.005 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.4086, allocations: 256.2 kB / 1.006 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.087, allocations: 4 kB / 1.006 GB, free: 3.184 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)