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.382/1.382, allocations: 249.5 MB / 257 MB, free: 6.875 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.001162/0.001162, allocations: 175.8 kB / 316.3 MB, free: 3.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.439/1.439, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008483/0.0008484, allocations: 95.08 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.534e-05/1.537e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8695/1.061, allocations: 382.6 MB / 1.259 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.061, allocations: 92.06 kB / 1.259 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.032/3.093, allocations: 0.546 GB / 1.805 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/3.093, allocations: 0 / 1.805 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001429/3.093, allocations: 20 kB / 1.805 GB, free: 142.3 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.002807/3.096, allocations: 1.169 MB / 1.806 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/3.096, allocations: 11.53 kB / 1.806 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/3.099, allocations: 495.5 kB / 1.807 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/3.113, allocations: 6.919 MB / 1.813 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/3.113, allocations: 20 kB / 1.813 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/3.113, allocations: 39.25 kB / 1.813 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008371/3.114, allocations: 486.6 kB / 1.814 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/3.115, allocations: 0.6098 MB / 1.815 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/3.115, allocations: 0 / 1.815 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/3.115, allocations: 0 / 1.815 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/3.115, allocations: 16 kB / 1.815 GB, free: 132.6 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.004901/3.12, allocations: 4.525 MB / 1.819 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/3.122, allocations: 0.6199 MB / 1.82 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/3.122, allocations: 216.8 kB / 1.82 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006287/3.123, allocations: 0.9296 MB / 1.821 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/3.123, allocations: 37.5 kB / 1.821 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.116e-06/3.123, allocations: 0 / 1.821 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001038/3.124, allocations: 492.9 kB / 1.821 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/3.124, allocations: 55.41 kB / 1.821 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/3.124, allocations: 0.5432 MB / 1.822 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/3.124, allocations: 29.7 kB / 1.822 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/3.125, allocations: 446.6 kB / 1.822 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.657e-05/3.125, allocations: 118.1 kB / 1.822 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/3.125, allocations: 3.938 kB / 1.822 GB, free: 124 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.888e-05/3.125, allocations: 326 kB / 1.823 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/3.125, allocations: 177.1 kB / 1.823 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/3.125, allocations: 377.2 kB / 1.823 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/3.126, allocations: 239.8 kB / 1.823 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/3.126, allocations: 0 / 1.823 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009605/3.127, allocations: 0.5905 MB / 1.824 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/3.127, allocations: 1.663 MB / 1.826 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/3.127, allocations: 4 kB / 1.826 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/3.127, allocations: 8 kB / 1.826 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/3.128, allocations: 195.7 kB / 1.826 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/3.128, allocations: 7.938 kB / 1.826 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/3.129, allocations: 151.5 kB / 1.826 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/3.129, allocations: 27.92 kB / 1.826 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/3.129, allocations: 4 kB / 1.826 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008374/3.13, allocations: 491.3 kB / 1.826 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/3.13, allocations: 7.844 kB / 1.826 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/3.13, allocations: 12.52 kB / 1.826 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/3.131, allocations: 191.7 kB / 1.827 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/3.131, allocations: 8 kB / 1.827 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008438/3.131, allocations: 151 kB / 1.827 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/3.131, allocations: 23.98 kB / 1.827 GB, free: 119.2 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.0001338/3.132, allocations: 120.9 kB / 1.827 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008212/3.132, allocations: 492.2 kB / 1.827 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.969e-05/3.133, allocations: 79.02 kB / 1.828 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/3.134, allocations: 0.6692 MB / 1.828 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/3.134, allocations: 4 kB / 1.828 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/3.134, allocations: 0 / 1.828 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/3.134, allocations: 3.984 kB / 1.828 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/3.136, allocations: 1.464 MB / 1.83 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/3.136, allocations: 8.078 kB / 1.83 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/3.137, allocations: 147.8 kB / 1.83 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/3.137, allocations: 4 kB / 1.83 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/3.137, allocations: 15.92 kB / 1.83 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/3.137, allocations: 3.984 kB / 1.83 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/3.137, allocations: 7.938 kB / 1.83 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/3.138, allocations: 1.021 MB / 1.831 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/3.138, allocations: 216 kB / 1.831 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.99e-05/3.139, allocations: 3.953 kB / 1.831 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007548/3.139, allocations: 131.8 kB / 1.831 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/3.139, allocations: 27.95 kB / 1.831 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/3.139, allocations: 19.98 kB / 1.831 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004236/3.14, allocations: 419.2 kB / 1.832 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.213e-06/3.14, allocations: 0 / 1.832 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001343/3.141, allocations: 447.1 kB / 1.832 GB, free: 113.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.002204/3.143, allocations: 2.199 MB / 1.834 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001108/3.145, allocations: 0.7751 MB / 1.835 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/3.145, allocations: 0 / 1.835 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/3.145, allocations: 267.8 kB / 1.835 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/3.146, allocations: 312.8 kB / 1.835 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/3.152, allocations: 1.772 MB / 1.837 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/3.152, allocations: 0.992 MB / 1.838 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001138/3.153, allocations: 244.4 kB / 1.838 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/3.154, allocations: 311.3 kB / 1.839 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/3.154, allocations: 0 / 1.839 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/3.199, allocations: 23.36 MB / 1.861 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/3.199, allocations: 213.5 kB / 1.862 GB, free: 83.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/5.91, allocations: 4.031 kB / 1.862 GB, free: 83.55 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)