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.488/1.488, allocations: 249.3 MB / 261.9 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 178.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009968/0.0009972, allocations: 98.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.368e-05, allocations: 8 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.223, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9953/1.218, allocations: 382.3 MB / 1.265 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.219, allocations: 88.77 kB / 1.265 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.362/3.58, allocations: 0.5486 GB / 1.814 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.984e-06/3.58, allocations: 0 / 1.814 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.061e-05/3.58, allocations: 27.98 kB / 1.814 GB, free: 131.9 MB / 0.8698 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.002344/3.583, allocations: 1.172 MB / 1.815 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/3.583, allocations: 8.031 kB / 1.815 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/3.583, allocations: 98.52 kB / 1.815 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/3.585, allocations: 490.2 kB / 1.816 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/3.599, allocations: 6.948 MB / 1.822 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/3.599, allocations: 45.31 kB / 1.822 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/3.599, allocations: 63.94 kB / 1.823 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/3.6, allocations: 0.6877 MB / 1.823 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/3.6, allocations: 0 / 1.823 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/3.6, allocations: 24 kB / 1.823 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/3.6, allocations: 12 kB / 1.823 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/3.601, allocations: 0.5244 MB / 1.824 GB, free: 121.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005455/3.607, allocations: 4.627 MB / 1.828 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/3.609, allocations: 0.6348 MB / 1.829 GB, free: 116 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/3.609, allocations: 224.8 kB / 1.829 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/3.61, allocations: 0.9337 MB / 1.83 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/3.61, allocations: 42.55 kB / 1.83 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.246e-06/3.61, allocations: 0 / 1.83 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.0008754/3.611, allocations: 469 kB / 1.831 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/3.611, allocations: 67.19 kB / 1.831 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/3.611, allocations: 0.6139 MB / 1.831 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/3.612, allocations: 37.7 kB / 1.831 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/3.612, allocations: 444 kB / 1.832 GB, free: 113 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.941e-05/3.612, allocations: 122.2 kB / 1.832 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/3.612, allocations: 12 kB / 1.832 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/3.612, allocations: 322 kB / 1.832 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/3.612, allocations: 185.1 kB / 1.832 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/3.613, allocations: 394.3 kB / 1.833 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/3.613, allocations: 195.9 kB / 1.833 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/3.613, allocations: 4 kB / 1.833 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008421/3.614, allocations: 0.606 MB / 1.833 GB, free: 111 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003048/3.614, allocations: 1.661 MB / 1.835 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/3.614, allocations: 7.938 kB / 1.835 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/3.614, allocations: 4 kB / 1.835 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/3.615, allocations: 195.7 kB / 1.835 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/3.615, allocations: 8 kB / 1.835 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/3.616, allocations: 163.4 kB / 1.835 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/3.616, allocations: 27.98 kB / 1.835 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/3.616, allocations: 7.953 kB / 1.835 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007432/3.617, allocations: 0.4952 MB / 1.836 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/3.617, allocations: 4 kB / 1.836 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/3.617, allocations: 8.562 kB / 1.836 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/3.618, allocations: 195.7 kB / 1.836 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/3.618, allocations: 11.98 kB / 1.836 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009011/3.619, allocations: 159.5 kB / 1.836 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/3.619, allocations: 27.98 kB / 1.836 GB, free: 107.9 MB / 0.8698 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 () * 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.0001439/3.619, allocations: 136.8 kB / 1.836 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/3.619, allocations: 82.92 kB / 1.837 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/3.62, allocations: 0.6812 MB / 1.837 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/3.62, allocations: 4 kB / 1.837 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/3.62, allocations: 0 / 1.837 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/3.62, allocations: 7.922 kB / 1.837 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/3.622, allocations: 1.543 MB / 1.839 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/3.622, allocations: 4.094 kB / 1.839 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/3.623, allocations: 151.8 kB / 1.839 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/3.623, allocations: 0 / 1.839 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/3.623, allocations: 15.98 kB / 1.839 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/3.623, allocations: 0 / 1.839 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/3.623, allocations: 7.938 kB / 1.839 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/3.624, allocations: 1.027 MB / 1.84 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/3.625, allocations: 223.9 kB / 1.84 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/3.625, allocations: 15.95 kB / 1.84 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/3.626, allocations: 123.9 kB / 1.84 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.866e-05/3.626, allocations: 27.95 kB / 1.84 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/3.626, allocations: 19.98 kB / 1.84 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005418/3.626, allocations: 495.1 kB / 1.841 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.92e-07/3.626, allocations: 0 / 1.841 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001403/3.628, allocations: 471.1 kB / 1.841 GB, free: 102.8 MB / 0.8698 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 () * 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.002324/3.63, allocations: 2.221 MB / 1.843 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001248/3.631, allocations: 0.8052 MB / 1.844 GB, free: 99.74 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/3.631, allocations: 0.6875 kB / 1.844 GB, free: 99.74 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/3.632, allocations: 287.5 kB / 1.844 GB, free: 99.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/3.633, allocations: 335.8 kB / 1.845 GB, free: 99.13 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/3.639, allocations: 1.801 MB / 1.846 GB, free: 97.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/3.639, allocations: 0.9845 MB / 1.847 GB, free: 96.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001166/3.64, allocations: 254.5 kB / 1.848 GB, free: 96.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/3.641, allocations: 323.3 kB / 1.848 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/3.641, allocations: 0 / 1.848 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/3.685, allocations: 27.94 MB / 1.875 GB, free: 68.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/3.685, allocations: 230.6 kB / 1.875 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/6.61, allocations: 0 / 1.875 GB, free: 67.79 MB / 0.8698 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)