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.001171/0.001171, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001585/0.001586, allocations: 172.7 kB / 15.95 MB, free: 208 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.785/1.785, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.687/1.687, allocations: 252 MB / 0.5102 GB, free: 4.785 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.0006227/0.0006227, allocations: 19.44 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7256/0.7262, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03028/0.7565, allocations: 32.5 MB / 0.7599 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009817/0.7664, allocations: 6.376 MB / 0.7661 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.7679, allocations: 43.69 kB / 0.7661 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.7691, allocations: 325.8 kB / 0.7664 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.7724, allocations: 0.9985 MB / 0.7674 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.7749, allocations: 0.7228 MB / 0.7681 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003418/0.7783, allocations: 2.489 MB / 0.7705 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009542/0.7793, allocations: 0.5633 MB / 0.7711 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.7812, allocations: 0.8008 MB / 0.7719 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.782, allocations: 0.5794 MB / 0.7724 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.7821, allocations: 32 kB / 0.7725 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.7838, allocations: 0.6977 MB / 0.7732 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.784, allocations: 147.3 kB / 0.7733 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.7843, allocations: 221.2 kB / 0.7735 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.7856, allocations: 1.184 MB / 0.7747 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7856, allocations: 4 kB / 0.7747 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7856, allocations: 0 / 0.7747 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.7856, allocations: 0 / 0.7747 GB, free: 11.57 MB / 0.5919 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.002084/0.7877, allocations: 1.199 MB / 0.7758 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.7878, allocations: 12.02 kB / 0.7758 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.7902, allocations: 0.4983 MB / 0.7763 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.7916, allocations: 0.8538 MB / 0.7772 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.7917, allocations: 45.31 kB / 0.7772 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7918, allocations: 60 kB / 0.7773 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.7937, allocations: 0.8631 MB / 0.7781 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.7937, allocations: 0 / 0.7781 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/0.7938, allocations: 28 kB / 0.7781 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.7938, allocations: 15.95 kB / 0.7782 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.7959, allocations: 0.856 MB / 0.779 GB, free: 7.004 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.005766/0.8017, allocations: 4.699 MB / 0.7836 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/0.8051, allocations: 0.9704 MB / 0.7845 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009515/0.8061, allocations: 400.6 kB / 0.7849 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009341/0.807, allocations: 0.9533 MB / 0.7858 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.807, allocations: 30.56 kB / 0.7859 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.8071, allocations: 0 / 0.7859 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.003077/0.8101, allocations: 1.149 MB / 0.787 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.8102, allocations: 55.41 kB / 0.787 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.8111, allocations: 0.72 MB / 0.7877 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.8111, allocations: 33.7 kB / 0.7878 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.8115, allocations: 452 kB / 0.7882 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.8116, allocations: 118.2 kB / 0.7883 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.8116, allocations: 8 kB / 0.7883 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8118, allocations: 329.9 kB / 0.7886 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.8127, allocations: 360.9 kB / 0.789 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.8138, allocations: 0.5464 MB / 0.7895 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/0.8147, allocations: 379.5 kB / 0.7899 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.8147, allocations: 4 kB / 0.7899 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002218/0.817, allocations: 0.9331 MB / 0.7908 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.8171, allocations: 214.4 kB / 0.791 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8171, allocations: 4 kB / 0.791 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.8172, allocations: 8 kB / 0.791 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/0.818, allocations: 215.7 kB / 0.7912 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.8181, allocations: 8 kB / 0.7912 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.819, allocations: 159.4 kB / 0.7914 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.819, allocations: 27.98 kB / 0.7914 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.8191, allocations: 7.953 kB / 0.7914 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002055/0.8211, allocations: 0.8309 MB / 0.7922 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8211, allocations: 4.562 kB / 0.7922 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.8212, allocations: 12 kB / 0.7922 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.822, allocations: 215.7 kB / 0.7924 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.822, allocations: 4 kB / 0.7925 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008763/0.8229, allocations: 163.5 kB / 0.7926 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.823, allocations: 23.98 kB / 0.7926 GB, free: 8.223 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.0004976/0.8235, allocations: 312.9 kB / 0.7929 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.8236, allocations: 83.02 kB / 0.793 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.8261, allocations: 1.02 MB / 0.794 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.8262, allocations: 8 kB / 0.794 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8262, allocations: 4 kB / 0.794 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.8262, allocations: 4.078 kB / 0.794 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.8299, allocations: 1.902 MB / 0.7959 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8299, allocations: 0 / 0.7959 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.8307, allocations: 179.9 kB / 0.796 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.8307, allocations: 4 kB / 0.7961 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.8308, allocations: 11.98 kB / 0.7961 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.8308, allocations: 7.938 kB / 0.7961 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8308, allocations: 0 / 0.7961 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.834, allocations: 1.506 MB / 0.7975 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.8344, allocations: 243.8 kB / 0.7978 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.8345, allocations: 8 kB / 0.7978 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.8352, allocations: 119.9 kB / 0.7979 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.8353, allocations: 35.89 kB / 0.7979 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.8353, allocations: 15.98 kB / 0.7979 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006825/0.836, allocations: 0.499 MB / 0.7984 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.836, allocations: 4 kB / 0.7984 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001357/0.8374, allocations: 435 kB / 0.7989 GB, free: 1.727 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.0006689/0.8381, allocations: 304.1 kB / 0.7991 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.8414, allocations: 1.291 MB / 0.8004 GB, free: 144 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8414, allocations: 4 kB / 0.8004 GB, free: 140 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.8424, allocations: 447.8 kB / 0.8008 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.8441, allocations: 355.7 kB / 0.8012 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/0.8506, allocations: 2.39 MB / 0.8035 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.8512, allocations: 0.9702 MB / 0.8045 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001075/0.8523, allocations: 212.2 kB / 0.8047 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.8526, allocations: 71.41 kB / 0.8047 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.8526, allocations: 0 / 0.8047 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.0274/0.88, allocations: 15.08 MB / 0.8195 GB, free: 12.82 MB / 0.6387 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: