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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005016/0.005016, allocations: 107.4 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 193.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.89 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4222, allocations: 104.7 MB / 0.828 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03058/0.4528, allocations: 35.27 MB / 0.8625 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008419/0.4613, allocations: 6.797 MB / 0.8691 GB, free: 8.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008585/0.4622, allocations: 47.69 kB / 0.8691 GB, free: 8.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4633, allocations: 488.7 kB / 0.8696 GB, free: 7.824 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.466, allocations: 1.266 MB / 0.8708 GB, free: 6.555 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.468, allocations: 1.033 MB / 0.8719 GB, free: 5.523 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00228/0.4703, allocations: 2.243 MB / 0.874 GB, free: 3.27 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.4712, allocations: 0.7762 MB / 0.8748 GB, free: 2.488 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.4727, allocations: 1.008 MB / 0.8758 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.4734, allocations: 0.6455 MB / 0.8764 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.4735, allocations: 84 kB / 0.8765 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.4752, allocations: 0.9826 MB / 0.8775 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4754, allocations: 207.2 kB / 0.8777 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.4759, allocations: 0.517 MB / 0.8782 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.4779, allocations: 1.706 MB / 0.8798 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4779, allocations: 0 / 0.8798 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4779, allocations: 0 / 0.8798 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.4779, allocations: 0 / 0.8798 GB, free: 13.33 MB / 0.6856 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.002027/0.4799, allocations: 1.384 MB / 0.8812 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.48, allocations: 12.03 kB / 0.8812 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/0.4824, allocations: 443.7 kB / 0.8816 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.4837, allocations: 0.9557 MB / 0.8825 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.4838, allocations: 45.31 kB / 0.8826 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.4839, allocations: 60 kB / 0.8826 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.4855, allocations: 0.8318 MB / 0.8835 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4856, allocations: 4 kB / 0.8835 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.4856, allocations: 28 kB / 0.8835 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4856, allocations: 12 kB / 0.8835 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.4878, allocations: 0.7778 MB / 0.8843 GB, free: 8.645 MB / 0.6856 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.005102/0.4929, allocations: 4.664 MB / 0.8888 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.4963, allocations: 0.8336 MB / 0.8896 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009498/0.4972, allocations: 352.6 kB / 0.89 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008151/0.4981, allocations: 0.9415 MB / 0.8909 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4981, allocations: 34.56 kB / 0.8909 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=35): time 1.934e-06/0.4981, allocations: 0 / 0.8909 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=35): time 0.003023/0.5011, allocations: 1.032 MB / 0.8919 GB, free: 168 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.5012, allocations: 55.41 kB / 0.892 GB, free: 100 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.502, allocations: 0.7317 MB / 0.8927 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.502, allocations: 33.7 kB / 0.8927 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.5023, allocations: 444.7 kB / 0.8931 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.5024, allocations: 138.8 kB / 0.8933 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.5026, allocations: 98.19 kB / 0.8934 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5027, allocations: 326 kB / 0.8937 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009504/0.5037, allocations: 334.8 kB / 0.894 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.5048, allocations: 0.5036 MB / 0.8945 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.5067, allocations: 0.726 MB / 0.8952 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5067, allocations: 0 / 0.8952 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00221/0.5089, allocations: 0.8632 MB / 0.896 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5089, allocations: 12.09 kB / 0.8961 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5089, allocations: 11.88 kB / 0.8961 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.509, allocations: 8 kB / 0.8961 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.5098, allocations: 183.7 kB / 0.8963 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5098, allocations: 8 kB / 0.8963 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007581/0.5106, allocations: 115.6 kB / 0.8964 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.5106, allocations: 23.97 kB / 0.8964 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001137/0.5118, allocations: 0.4931 MB / 0.8969 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.5129, allocations: 0.5074 MB / 0.8974 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001886/0.5148, allocations: 0.7263 MB / 0.8981 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.5148, allocations: 0 / 0.8981 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.002234/0.517, allocations: 0.8591 MB / 0.8989 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.517, allocations: 4 kB / 0.8989 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.517, allocations: 8 kB / 0.8989 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.517, allocations: 7.938 kB / 0.8989 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008066/0.5179, allocations: 184.2 kB / 0.8991 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.5179, allocations: 11.94 kB / 0.8991 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.5187, allocations: 115.8 kB / 0.8992 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.5187, allocations: 23.98 kB / 0.8993 GB, free: 8.309 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.5189, allocations: 220 kB / 0.8995 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.519, allocations: 83.48 kB / 0.8995 GB, free: 8.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/0.5215, allocations: 0.9342 MB / 0.9005 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.5215, allocations: 4 kB / 0.9005 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5215, allocations: 0 / 0.9005 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5216, allocations: 7.984 kB / 0.9005 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.5251, allocations: 1.824 MB / 0.9023 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5251, allocations: 0 / 0.9023 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.5259, allocations: 151.9 kB / 0.9024 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5259, allocations: 3.984 kB / 0.9024 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.5259, allocations: 11.98 kB / 0.9024 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5259, allocations: 4 kB / 0.9024 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.526, allocations: 3.938 kB / 0.9024 GB, free: 5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003274/0.5292, allocations: 1.401 MB / 0.9038 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.5295, allocations: 236.4 kB / 0.904 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5297, allocations: 7.984 kB / 0.904 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.5303, allocations: 75.97 kB / 0.9041 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.5304, allocations: 31.95 kB / 0.9041 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.5305, allocations: 15.98 kB / 0.9041 GB, free: 3.191 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005843/0.5311, allocations: 0.5029 MB / 0.9046 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5311, allocations: 0 / 0.9046 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001052/0.5321, allocations: 435.1 kB / 0.905 GB, free: 2.266 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000566/0.5327, allocations: 315.5 kB / 0.9053 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003259/0.536, allocations: 1.171 MB / 0.9065 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.536, allocations: 0 / 0.9065 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5371, allocations: 408.4 kB / 0.9069 GB, free: 404 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5384, allocations: 360.3 kB / 0.9072 GB, free: 56 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005546/0.544, allocations: 1.926 MB / 0.9091 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5444, allocations: 0.9738 MB / 0.9101 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007258/0.5452, allocations: 208.6 kB / 0.9103 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.5454, allocations: 79.41 kB / 0.9103 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.5454, allocations: 3.938 kB / 0.9103 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.02331/0.5687, allocations: 16.28 MB / 0.9262 GB, free: 12.8 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1)