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.001149/0.00115, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001264/0.001264, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.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.704/1.704, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.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.0008476/0.0008477, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7318, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03189/0.7638, allocations: 29.61 MB / 0.7569 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.774, allocations: 5.902 MB / 0.7626 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.7757, allocations: 39.69 kB / 0.7627 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.7774, allocations: 406 kB / 0.7631 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.7823, allocations: 1.079 MB / 0.7641 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.786, allocations: 0.8398 MB / 0.7649 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004198/0.7902, allocations: 1.329 MB / 0.7662 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.7915, allocations: 0.5751 MB / 0.7668 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.7938, allocations: 0.7668 MB / 0.7676 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.7945, allocations: 445.9 kB / 0.768 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.7946, allocations: 28 kB / 0.768 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.7967, allocations: 0.5928 MB / 0.7686 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.7969, allocations: 143.3 kB / 0.7687 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.7972, allocations: 221.2 kB / 0.7689 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.7985, allocations: 1.118 MB / 0.77 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7986, allocations: 0 / 0.77 GB, free: 232 kB / 0.5762 GB Notification: Performance of FrontEnd: time 5.08e-06/0.7986, allocations: 0 / 0.77 GB, free: 232 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.7986, allocations: 7.938 kB / 0.77 GB, free: 224 kB / 0.5762 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.00237/0.801, allocations: 1.176 MB / 0.7712 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.801, allocations: 12.03 kB / 0.7712 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/0.8036, allocations: 0.4983 MB / 0.7717 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.8052, allocations: 0.8499 MB / 0.7725 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.8053, allocations: 45.31 kB / 0.7726 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.8054, allocations: 60 kB / 0.7726 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.8074, allocations: 0.867 MB / 0.7735 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.8075, allocations: 0 / 0.7735 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.8075, allocations: 20 kB / 0.7735 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.8076, allocations: 19.95 kB / 0.7735 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.8099, allocations: 0.856 MB / 0.7743 GB, free: 11.68 MB / 0.5919 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.006913/0.8168, allocations: 4.699 MB / 0.7789 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.8206, allocations: 0.9684 MB / 0.7799 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.8216, allocations: 0.9494 MB / 0.7808 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.8216, allocations: 38.5 kB / 0.7808 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.424e-06/0.8216, allocations: 0 / 0.7808 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.003362/0.825, allocations: 1.138 MB / 0.7819 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.8251, allocations: 63.39 kB / 0.782 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.8261, allocations: 0.7277 MB / 0.7827 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.8262, allocations: 33.7 kB / 0.7827 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.8266, allocations: 440 kB / 0.7832 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.8267, allocations: 122.2 kB / 0.7833 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.8268, allocations: 12 kB / 0.7833 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.827, allocations: 326 kB / 0.7836 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.828, allocations: 360.9 kB / 0.7839 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.8291, allocations: 0.5425 MB / 0.7845 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8302, allocations: 379.5 kB / 0.7848 GB, free: 184 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.8302, allocations: 7.938 kB / 0.7848 GB, free: 176 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002342/0.8325, allocations: 0.9367 MB / 0.7858 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006911/0.8332, allocations: 1.66 MB / 0.7874 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.8333, allocations: 4 kB / 0.7874 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.8333, allocations: 8 kB / 0.7874 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.8342, allocations: 215.7 kB / 0.7876 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.8342, allocations: 7.938 kB / 0.7876 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.8353, allocations: 167.3 kB / 0.7878 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.8353, allocations: 27.98 kB / 0.7878 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8354, allocations: 4 kB / 0.7878 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00217/0.8375, allocations: 0.8315 MB / 0.7886 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8376, allocations: 7.938 kB / 0.7886 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.8376, allocations: 8.031 kB / 0.7886 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008663/0.8384, allocations: 203.8 kB / 0.7888 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.8385, allocations: 15.92 kB / 0.7888 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009317/0.8394, allocations: 163.5 kB / 0.789 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.8395, allocations: 23.98 kB / 0.789 GB, free: 11.77 MB / 0.6075 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.0004968/0.84, allocations: 312 kB / 0.7893 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.8401, allocations: 83.02 kB / 0.7894 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.8428, allocations: 1.021 MB / 0.7904 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.8428, allocations: 7.984 kB / 0.7904 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8428, allocations: 0 / 0.7904 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/0.8429, allocations: 0 / 0.7904 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.8468, allocations: 1.914 MB / 0.7923 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8469, allocations: 0 / 0.7923 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008012/0.8477, allocations: 175.9 kB / 0.7924 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.8477, allocations: 4 kB / 0.7924 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.8477, allocations: 19.97 kB / 0.7925 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8477, allocations: 4 kB / 0.7925 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8478, allocations: 0 / 0.7925 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/0.8513, allocations: 1.539 MB / 0.794 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.8518, allocations: 243.8 kB / 0.7942 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.8519, allocations: 15.98 kB / 0.7942 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007575/0.8526, allocations: 115.9 kB / 0.7943 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.8527, allocations: 31.97 kB / 0.7943 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.8528, allocations: 19.97 kB / 0.7944 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006914/0.8535, allocations: 0.4951 MB / 0.7948 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8535, allocations: 0 / 0.7948 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001385/0.8549, allocations: 435 kB / 0.7953 GB, free: 5.219 MB / 0.6075 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.0006939/0.8556, allocations: 322.2 kB / 0.7956 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.8592, allocations: 1.295 MB / 0.7968 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8592, allocations: 4 kB / 0.7968 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8604, allocations: 447.8 kB / 0.7973 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.862, allocations: 339.9 kB / 0.7976 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.8688, allocations: 2.39 MB / 0.7999 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.8695, allocations: 0.9868 MB / 0.8009 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001204/0.8707, allocations: 211.1 kB / 0.8011 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.8709, allocations: 83.39 kB / 0.8012 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.865e-06/0.871, allocations: 0 / 0.8012 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.0283/0.8993, allocations: 15.2 MB / 0.816 GB, free: 176 kB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: