Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009831/0.000983, allocations: 182.4 kB / 327.6 MB, free: 2.16 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.475/1.475, allocations: 205.4 MB / 0.5785 GB, free: 20.49 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.0007894/0.0007894, allocations: 88.28 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 9.656 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.113, allocations: 479.2 MB / 1.369 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.114, allocations: 92.39 kB / 1.369 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 17.74/18.85, allocations: 5.212 GB / 6.581 GB, free: 46.17 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.794e-06/18.85, allocations: 0 / 6.581 GB, free: 46.17 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002116/18.85, allocations: 317 kB / 6.581 GB, free: 46.11 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03931/18.89, allocations: 13.56 MB / 6.594 GB, free: 39.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/18.89, allocations: 10.19 kB / 6.594 GB, free: 39.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01217/18.9, allocations: 2.48 MB / 6.597 GB, free: 39.12 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04184/18.95, allocations: 17.11 MB / 6.614 GB, free: 36.03 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/18.95, allocations: 0.563 MB / 6.614 GB, free: 36.01 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/18.95, allocations: 0.7373 MB / 6.615 GB, free: 36 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/18.97, allocations: 8.556 MB / 6.623 GB, free: 34.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/18.97, allocations: 25.66 kB / 6.623 GB, free: 34.68 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001386/18.97, allocations: 300.3 kB / 6.624 GB, free: 34.68 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/18.97, allocations: 208 kB / 6.624 GB, free: 34.68 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/18.99, allocations: 6.372 MB / 6.63 GB, free: 34.5 MB / 1.135 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.05806/19.05, allocations: 45.83 MB / 6.675 GB, free: 7.57 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00787/19.06, allocations: 4.013 MB / 6.679 GB, free: 5.98 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/19.06, allocations: 2.253 MB / 6.681 GB, free: 5.141 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/19.08, allocations: 9.309 MB / 6.69 GB, free: 14.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0038/19.08, allocations: 2.122 MB / 6.692 GB, free: 13.93 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005424/19.09, allocations: 0.5962 MB / 6.693 GB, free: 13.67 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 9.268e-06/19.09, allocations: 0 / 6.693 GB, free: 13.67 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.01523/19.1, allocations: 7.116 MB / 6.7 GB, free: 10.32 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/19.1, allocations: 94.27 kB / 6.7 GB, free: 10.24 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01847/19.12, allocations: 8.956 MB / 6.708 GB, free: 5.652 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0009901/19.12, allocations: 121.7 kB / 6.708 GB, free: 5.527 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.005454/19.13, allocations: 5.579 MB / 6.714 GB, free: 448 kB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/19.13, allocations: 1.173 MB / 6.715 GB, free: 15.35 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/19.13, allocations: 96 kB / 6.715 GB, free: 15.26 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002663/19.13, allocations: 487.2 kB / 6.716 GB, free: 14.83 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00359/19.13, allocations: 1.699 MB / 6.717 GB, free: 13.39 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/19.14, allocations: 3.854 MB / 6.721 GB, free: 8.879 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008336/19.14, allocations: 5.34 MB / 6.726 GB, free: 3.141 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-05/19.14, allocations: 16 kB / 6.726 GB, free: 3.125 MB / 1.167 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01357/19.16, allocations: 6.416 MB / 6.733 GB, free: 13.29 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001138/19.16, allocations: 1.686 MB / 6.734 GB, free: 10.89 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.59e-05/19.16, allocations: 52 kB / 6.734 GB, free: 10.84 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/19.16, allocations: 0.5196 MB / 6.735 GB, free: 10.36 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/19.17, allocations: 1.117 MB / 6.736 GB, free: 9.418 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/19.17, allocations: 8.319 MB / 6.744 GB, free: 0.957 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009121/19.18, allocations: 0.7182 MB / 6.745 GB, free: 400 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008938/19.18, allocations: 269.8 kB / 6.745 GB, free: 156 kB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/19.18, allocations: 4.781 kB / 6.745 GB, free: 152 kB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8192/20, allocations: 5.369 MB / 6.75 GB, free: 92.61 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001841/20, allocations: 53.66 kB / 6.75 GB, free: 92.61 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/20, allocations: 0.521 MB / 6.751 GB, free: 92.53 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004885/20.01, allocations: 1.082 MB / 6.752 GB, free: 92.53 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/20.01, allocations: 8.314 MB / 6.76 GB, free: 85.77 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009529/20.02, allocations: 0.6973 MB / 6.761 GB, free: 85.77 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/20.02, allocations: 256.6 kB / 6.761 GB, free: 85.77 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007932/20.03, allocations: 2.569 MB / 6.763 GB, free: 85.57 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00287/20.03, allocations: 0.9726 MB / 6.764 GB, free: 85.57 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/20.05, allocations: 5.416 MB / 6.77 GB, free: 85.25 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/20.05, allocations: 41 kB / 6.77 GB, free: 85.25 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/20.05, allocations: 5.312 kB / 6.77 GB, free: 85.25 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007149/20.05, allocations: 3.852 MB / 6.773 GB, free: 85 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.03239/20.09, allocations: 12.39 MB / 6.785 GB, free: 84.28 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/20.09, allocations: 0 / 6.785 GB, free: 84.28 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003116/20.09, allocations: 0.7042 MB / 6.786 GB, free: 84.28 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/20.09, allocations: 472.6 kB / 6.787 GB, free: 84.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004444/20.09, allocations: 108.2 kB / 6.787 GB, free: 84.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/20.1, allocations: 8.225 MB / 6.795 GB, free: 77.42 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/20.1, allocations: 3 kB / 6.795 GB, free: 77.42 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/20.11, allocations: 7.309 MB / 6.802 GB, free: 76.99 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005963/20.12, allocations: 1.612 MB / 6.803 GB, free: 76.72 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002922/20.12, allocations: 75.5 kB / 6.804 GB, free: 76.72 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007699/20.13, allocations: 0.6404 MB / 6.804 GB, free: 76.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/20.13, allocations: 227.2 kB / 6.804 GB, free: 76.69 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006379/20.13, allocations: 188.1 kB / 6.805 GB, free: 76.69 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01411/20.14, allocations: 5.97 MB / 6.81 GB, free: 76.41 MB / 1.182 GB Notification: Performance of sort global known variables: time 6.11e-07/20.14, allocations: 1.406 kB / 6.81 GB, free: 76.41 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.02366/20.17, allocations: 5.479 MB / 6.816 GB, free: 76.08 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/20.18, allocations: 6.466 MB / 6.822 GB, free: 73.22 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01746/20.2, allocations: 7.793 MB / 6.83 GB, free: 72.67 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/20.2, allocations: 3.156 kB / 6.83 GB, free: 72.67 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005276/20.2, allocations: 2.349 MB / 6.832 GB, free: 72.41 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03119/20.23, allocations: 4.835 MB / 6.837 GB, free: 72.34 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04053/20.27, allocations: 21.85 MB / 6.858 GB, free: 63.15 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/20.28, allocations: 5.44 MB / 6.863 GB, free: 62.18 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0151/20.3, allocations: 2.542 MB / 6.866 GB, free: 61.82 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/20.3, allocations: 0.7413 MB / 6.867 GB, free: 61.82 MB / 1.182 GB Notification: Performance of SimCode: time 1.012e-06/20.3, allocations: 1.297 kB / 6.867 GB, free: 61.82 MB / 1.182 GB Notification: Performance of Templates: time 0.3066/20.61, allocations: 204.2 MB / 7.066 GB, free: 41.56 MB / 1.182 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)