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.734/1.734, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001409/0.001409, allocations: 188.8 kB / 366.7 MB, free: 1.695 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.866/1.866, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008445/0.0008447, allocations: 87.78 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.799e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8806, allocations: 116.3 MB / 0.9733 GB, free: 76.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/2.205, allocations: 390.2 MB / 1.354 GB, free: 165.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/2.206, allocations: 92.75 kB / 1.354 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.045/4.251, allocations: 0.563 GB / 1.917 GB, free: 76.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.186e-06/4.251, allocations: 4 kB / 1.917 GB, free: 76.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001799/4.251, allocations: 27.98 kB / 1.917 GB, free: 76.47 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.003674/4.255, allocations: 1.169 MB / 1.919 GB, free: 75.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/4.255, allocations: 12.03 kB / 1.919 GB, free: 75.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002898/4.258, allocations: 498.7 kB / 1.919 GB, free: 74.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/4.275, allocations: 7.075 MB / 1.926 GB, free: 67.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/4.275, allocations: 16 kB / 1.926 GB, free: 67.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/4.276, allocations: 40 kB / 1.926 GB, free: 67.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/4.277, allocations: 486.5 kB / 1.927 GB, free: 67.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/4.279, allocations: 0.607 MB / 1.927 GB, free: 66.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/4.279, allocations: 0 / 1.927 GB, free: 66.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/4.279, allocations: 4 kB / 1.927 GB, free: 66.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/4.279, allocations: 15.94 kB / 1.927 GB, free: 66.37 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.007623/4.287, allocations: 4.508 MB / 1.932 GB, free: 61.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/4.289, allocations: 0.6237 MB / 1.932 GB, free: 60.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/4.289, allocations: 213.9 kB / 1.932 GB, free: 60.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008098/4.29, allocations: 0.9337 MB / 1.933 GB, free: 59.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/4.29, allocations: 50.41 kB / 1.933 GB, free: 59.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.356e-06/4.29, allocations: 3.938 kB / 1.933 GB, free: 59.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001248/4.291, allocations: 492.3 kB / 1.934 GB, free: 58.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/4.291, allocations: 55.41 kB / 1.934 GB, free: 58.88 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/4.292, allocations: 0.547 MB / 1.934 GB, free: 58.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/4.292, allocations: 25.7 kB / 1.934 GB, free: 58.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/4.293, allocations: 447.6 kB / 1.935 GB, free: 57.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/4.293, allocations: 118.2 kB / 1.935 GB, free: 57.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/4.293, allocations: 4 kB / 1.935 GB, free: 57.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.582e-05/4.293, allocations: 326 kB / 1.935 GB, free: 57.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/4.293, allocations: 181 kB / 1.935 GB, free: 57.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/4.294, allocations: 369.2 kB / 1.936 GB, free: 56.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/4.294, allocations: 244.7 kB / 1.936 GB, free: 56.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/4.294, allocations: 4 kB / 1.936 GB, free: 56.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001152/4.295, allocations: 0.5832 MB / 1.937 GB, free: 55.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004579/4.296, allocations: 1.663 MB / 1.938 GB, free: 54.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/4.296, allocations: 4 kB / 1.938 GB, free: 54.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/4.296, allocations: 8 kB / 1.938 GB, free: 54.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/4.297, allocations: 187.7 kB / 1.938 GB, free: 53.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/4.297, allocations: 11.94 kB / 1.938 GB, free: 53.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/4.298, allocations: 155.5 kB / 1.939 GB, free: 53.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/4.298, allocations: 27.98 kB / 1.939 GB, free: 53.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/4.298, allocations: 4 kB / 1.939 GB, free: 53.77 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009051/4.299, allocations: 487.3 kB / 1.939 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/4.299, allocations: 4 kB / 1.939 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/4.299, allocations: 11.95 kB / 1.939 GB, free: 53.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/4.3, allocations: 184 kB / 1.939 GB, free: 53.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/4.3, allocations: 8 kB / 1.939 GB, free: 53.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/4.301, allocations: 155.5 kB / 1.939 GB, free: 52.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/4.301, allocations: 35.91 kB / 1.939 GB, free: 52.9 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.0001487/4.301, allocations: 120.8 kB / 1.94 GB, free: 52.78 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008789/4.302, allocations: 492.3 kB / 1.94 GB, free: 52.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/4.302, allocations: 83.02 kB / 1.94 GB, free: 52.21 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/4.303, allocations: 0.6621 MB / 1.941 GB, free: 51.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/4.303, allocations: 7.984 kB / 1.941 GB, free: 51.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/4.303, allocations: 0 / 1.941 GB, free: 51.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/4.303, allocations: 0 / 1.941 GB, free: 51.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00243/4.306, allocations: 1.465 MB / 1.942 GB, free: 50.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/4.306, allocations: 7.938 kB / 1.942 GB, free: 50 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/4.306, allocations: 147.9 kB / 1.942 GB, free: 49.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/4.306, allocations: 8 kB / 1.942 GB, free: 49.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/4.306, allocations: 7.984 kB / 1.942 GB, free: 49.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/4.306, allocations: 7.938 kB / 1.942 GB, free: 49.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/4.306, allocations: 0 / 1.942 GB, free: 49.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/4.308, allocations: 1.025 MB / 1.943 GB, free: 48.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/4.308, allocations: 223.9 kB / 1.944 GB, free: 48.53 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/4.308, allocations: 7.953 kB / 1.944 GB, free: 48.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/4.309, allocations: 115.9 kB / 1.944 GB, free: 48.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/4.309, allocations: 35.89 kB / 1.944 GB, free: 48.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/4.309, allocations: 15.92 kB / 1.944 GB, free: 48.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005171/4.31, allocations: 435.1 kB / 1.944 GB, free: 47.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/4.31, allocations: 0 / 1.944 GB, free: 47.93 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001605/4.311, allocations: 443.1 kB / 1.945 GB, free: 47.5 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.002733/4.314, allocations: 2.186 MB / 1.947 GB, free: 45.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00125/4.315, allocations: 0.7643 MB / 1.947 GB, free: 44.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/4.315, allocations: 0.75 kB / 1.947 GB, free: 44.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/4.316, allocations: 269.6 kB / 1.948 GB, free: 44.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/4.317, allocations: 318.4 kB / 1.948 GB, free: 43.93 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/4.324, allocations: 1.764 MB / 1.95 GB, free: 42.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/4.325, allocations: 0.9881 MB / 1.951 GB, free: 41.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001396/4.326, allocations: 242.4 kB / 1.951 GB, free: 40.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/4.326, allocations: 319.2 kB / 1.951 GB, free: 40.55 MB / 0.948 GB Notification: Performance of SimCode: time 9.92e-07/4.326, allocations: 0 / 1.951 GB, free: 40.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05002/4.376, allocations: 23.36 MB / 1.974 GB, free: 17.38 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/4.377, allocations: 196.1 kB / 1.974 GB, free: 17.17 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.04/7.417, allocations: 0 / 1.974 GB, free: 17.17 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)