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.411/1.411, allocations: 251.9 MB / 266.9 MB, free: 10.87 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: 176 kB / 326.5 MB, free: 2.238 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.922/1.922, allocations: 205.4 MB / 0.5775 GB, free: 20.49 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.0009847/0.0009846, allocations: 92.05 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004993, allocations: 8.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3006, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.368, allocations: 382.3 MB / 1.274 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/1.368, allocations: 88.39 kB / 1.274 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.444/3.812, allocations: 0.5504 GB / 1.824 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.555e-06/3.812, allocations: 0 / 1.824 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001915/3.812, allocations: 24.64 kB / 1.824 GB, free: 200.5 MB / 0.8855 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.004356/3.817, allocations: 1.351 MB / 1.825 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/3.817, allocations: 10.06 kB / 1.825 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003137/3.817, allocations: 105.1 kB / 1.825 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/3.82, allocations: 495.7 kB / 1.826 GB, free: 199.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/3.837, allocations: 7.007 MB / 1.833 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/3.837, allocations: 45.06 kB / 1.833 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/3.837, allocations: 64.75 kB / 1.833 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/3.84, allocations: 0.8557 MB / 1.834 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/3.84, allocations: 0 / 1.834 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/3.84, allocations: 25.06 kB / 1.834 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/3.84, allocations: 14.5 kB / 1.834 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/3.842, allocations: 0.8445 MB / 1.835 GB, free: 199.1 MB / 0.8855 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.007466/3.85, allocations: 4.637 MB / 1.839 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/3.854, allocations: 0.9523 MB / 1.84 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008444/3.855, allocations: 0.9357 MB / 1.841 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/3.855, allocations: 40.75 kB / 1.841 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 4.689e-06/3.855, allocations: 0 / 1.841 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.003329/3.858, allocations: 1.114 MB / 1.842 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/3.858, allocations: 54.47 kB / 1.842 GB, free: 195 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/3.859, allocations: 0.6334 MB / 1.843 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.784e-05/3.859, allocations: 37.17 kB / 1.843 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/3.86, allocations: 439.8 kB / 1.843 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/3.86, allocations: 126.7 kB / 1.843 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/3.86, allocations: 7.375 kB / 1.843 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/3.86, allocations: 321 kB / 1.844 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/3.861, allocations: 358.2 kB / 1.844 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/3.862, allocations: 0.5411 MB / 1.845 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/3.863, allocations: 363.8 kB / 1.845 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/3.863, allocations: 0 / 1.845 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00253/3.866, allocations: 0.9264 MB / 1.846 GB, free: 194.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006253/3.866, allocations: 1.661 MB / 1.847 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/3.867, allocations: 7.266 kB / 1.847 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/3.867, allocations: 7.531 kB / 1.847 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/3.867, allocations: 197.4 kB / 1.848 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/3.867, allocations: 3.781 kB / 1.848 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/3.869, allocations: 170.8 kB / 1.848 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/3.869, allocations: 24.23 kB / 1.848 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/3.869, allocations: 3.844 kB / 1.848 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002155/3.871, allocations: 0.8107 MB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/3.871, allocations: 11.02 kB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/3.871, allocations: 13.88 kB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/3.872, allocations: 188.1 kB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/3.872, allocations: 10.38 kB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/3.873, allocations: 162.1 kB / 1.849 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/3.873, allocations: 31.11 kB / 1.849 GB, free: 192.3 MB / 0.8855 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.0007675/3.874, allocations: 305.7 kB / 1.849 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/3.874, allocations: 80.38 kB / 1.849 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/3.877, allocations: 0.9993 MB / 1.85 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/3.878, allocations: 11.53 kB / 1.85 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/3.878, allocations: 0 / 1.85 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/3.878, allocations: 6.938 kB / 1.85 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/3.882, allocations: 1.862 MB / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/3.882, allocations: 3.719 kB / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/3.883, allocations: 154.4 kB / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/3.883, allocations: 0 / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/3.883, allocations: 20.8 kB / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/3.883, allocations: 0 / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.883, allocations: 7.172 kB / 1.852 GB, free: 191.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/3.887, allocations: 1.521 MB / 1.854 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/3.887, allocations: 223.6 kB / 1.854 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/3.888, allocations: 13.8 kB / 1.854 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/3.889, allocations: 129 kB / 1.854 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/3.889, allocations: 29.02 kB / 1.854 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/3.889, allocations: 20.42 kB / 1.854 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009027/3.89, allocations: 497.2 kB / 1.855 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.202e-06/3.89, allocations: 3.531 kB / 1.855 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002305/3.892, allocations: 462.5 kB / 1.855 GB, free: 191.1 MB / 0.8855 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.004961/3.897, allocations: 2.692 MB / 1.858 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003434/3.9, allocations: 1.259 MB / 1.859 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/3.9, allocations: 0 / 1.859 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/3.901, allocations: 444.5 kB / 1.859 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/3.904, allocations: 346.2 kB / 1.86 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/3.92, allocations: 8.551 MB / 1.868 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/3.92, allocations: 0.9867 MB / 1.869 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001267/3.922, allocations: 209.7 kB / 1.869 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/3.922, allocations: 336.8 kB / 1.87 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/3.922, allocations: 0 / 1.87 GB, free: 184.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/3.973, allocations: 26.22 MB / 1.895 GB, free: 181.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/3.973, allocations: 251.6 kB / 1.895 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/7.173, allocations: 3.797 kB / 1.895 GB, free: 180.8 MB / 0.8855 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)