Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 289.7 MB / 302.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 181.6 kB / 371.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008914, allocations: 88.77 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.077e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.595, allocations: 390.9 MB / 1.362 GB, free: 5.766 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/1.595, allocations: 93.05 kB / 1.362 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.236/4.831, allocations: 0.5656 GB / 1.927 GB, free: 184.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.146e-06/4.831, allocations: 0 / 1.927 GB, free: 184.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002324/4.831, allocations: 25.25 kB / 1.927 GB, free: 184.3 MB / 0.948 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.004965/4.836, allocations: 1.17 MB / 1.928 GB, free: 183.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/4.837, allocations: 11.69 kB / 1.928 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/4.837, allocations: 102.2 kB / 1.929 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003215/4.84, allocations: 498.4 kB / 1.929 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/4.857, allocations: 7.116 MB / 1.936 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.882e-05/4.857, allocations: 40.06 kB / 1.936 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/4.858, allocations: 65.77 kB / 1.936 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/4.859, allocations: 0.6851 MB / 1.937 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/4.859, allocations: 7.906 kB / 1.937 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/4.859, allocations: 23.88 kB / 1.937 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/4.86, allocations: 19.53 kB / 1.937 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/4.861, allocations: 0.5111 MB / 1.937 GB, free: 178.1 MB / 0.948 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.007211/4.868, allocations: 4.633 MB / 1.942 GB, free: 173.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/4.87, allocations: 0.6246 MB / 1.942 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/4.871, allocations: 230.3 kB / 1.943 GB, free: 173.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008224/4.871, allocations: 0.937 MB / 1.944 GB, free: 172.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/4.872, allocations: 30.56 kB / 1.944 GB, free: 172.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.236e-06/4.872, allocations: 0 / 1.944 GB, free: 172.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001133/4.873, allocations: 484.9 kB / 1.944 GB, free: 172.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/4.873, allocations: 55.34 kB / 1.944 GB, free: 172.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/4.874, allocations: 0.6249 MB / 1.945 GB, free: 171.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/4.874, allocations: 33.36 kB / 1.945 GB, free: 171.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/4.874, allocations: 444.2 kB / 1.945 GB, free: 171.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/4.874, allocations: 124.8 kB / 1.945 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/4.874, allocations: 7.719 kB / 1.945 GB, free: 171.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.508e-05/4.875, allocations: 328.7 kB / 1.946 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/4.875, allocations: 184.9 kB / 1.946 GB, free: 170.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/4.875, allocations: 398.1 kB / 1.946 GB, free: 170.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/4.876, allocations: 202.6 kB / 1.946 GB, free: 170.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/4.876, allocations: 0 / 1.946 GB, free: 170.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001126/4.877, allocations: 0.607 MB / 1.947 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005012/4.877, allocations: 1.659 MB / 1.949 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/4.877, allocations: 2.844 kB / 1.949 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/4.877, allocations: 9.406 kB / 1.949 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/4.878, allocations: 185.4 kB / 1.949 GB, free: 168.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/4.878, allocations: 11.47 kB / 1.949 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/4.88, allocations: 162.5 kB / 1.949 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/4.88, allocations: 29.95 kB / 1.949 GB, free: 168.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/4.88, allocations: 3.938 kB / 1.949 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008735/4.881, allocations: 0.494 MB / 1.949 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/4.881, allocations: 7.953 kB / 1.949 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/4.881, allocations: 7.844 kB / 1.949 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/4.881, allocations: 187.6 kB / 1.95 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/4.881, allocations: 11.59 kB / 1.95 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/4.883, allocations: 165 kB / 1.95 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/4.883, allocations: 24.92 kB / 1.95 GB, free: 167.8 MB / 0.948 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.0001984/4.883, allocations: 138 kB / 1.95 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/4.883, allocations: 82.88 kB / 1.95 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/4.885, allocations: 0.6731 MB / 1.951 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/4.885, allocations: 7.891 kB / 1.951 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/4.885, allocations: 3.969 kB / 1.951 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/4.885, allocations: 0 / 1.951 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/4.888, allocations: 1.55 MB / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/4.888, allocations: 3.062 kB / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/4.888, allocations: 153.9 kB / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/4.888, allocations: 0 / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/4.888, allocations: 15.89 kB / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/4.889, allocations: 0 / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/4.889, allocations: 3.969 kB / 1.952 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/4.89, allocations: 1.034 MB / 1.953 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/4.891, allocations: 229.7 kB / 1.954 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/4.891, allocations: 19.25 kB / 1.954 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009509/4.892, allocations: 124.3 kB / 1.954 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.702e-05/4.892, allocations: 38.33 kB / 1.954 GB, free: 165.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/4.892, allocations: 19.2 kB / 1.954 GB, free: 165.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007657/4.893, allocations: 495.6 kB / 1.954 GB, free: 164.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/4.893, allocations: 0 / 1.954 GB, free: 164.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001969/4.895, allocations: 464 kB / 1.955 GB, free: 164.8 MB / 0.948 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.002978/4.898, allocations: 2.191 MB / 1.957 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001579/4.899, allocations: 0.814 MB / 1.958 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/4.899, allocations: 0 / 1.958 GB, free: 162.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004209/4.9, allocations: 281.1 kB / 1.958 GB, free: 162.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/4.901, allocations: 336.6 kB / 1.958 GB, free: 162.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/4.908, allocations: 1.808 MB / 1.96 GB, free: 161.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/4.909, allocations: 0.989 MB / 1.961 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001453/4.91, allocations: 245 kB / 1.961 GB, free: 160.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/4.911, allocations: 327 kB / 1.961 GB, free: 160.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/4.911, allocations: 4 kB / 1.961 GB, free: 160.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/4.974, allocations: 27.94 MB / 1.989 GB, free: 140.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/4.974, allocations: 210.8 kB / 1.989 GB, free: 140.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/8.223, allocations: 0 / 1.989 GB, free: 140.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)