Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.835/1.835, allocations: 297.8 MB / 313.8 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 180.1 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009676/0.0009677, allocations: 97.52 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004849, allocations: 14.66 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.729, allocations: 120.3 MB / 1.026 GB, free: 56.45 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.847, allocations: 476.7 MB / 1.492 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/1.847, allocations: 95.27 kB / 1.492 GB, free: 93.33 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 24.17/26.01, allocations: 5.462 GB / 6.954 GB, free: 56.71 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.637e-06/26.01, allocations: 4 kB / 6.954 GB, free: 56.71 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.003756/26.02, allocations: 313.1 kB / 6.954 GB, free: 56.65 MB / 1.245 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.06512/26.08, allocations: 13.58 MB / 6.967 GB, free: 50.45 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 6.983e-05/26.08, allocations: 7.531 kB / 6.967 GB, free: 50.45 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/26.1, allocations: 2.477 MB / 6.97 GB, free: 49.68 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06704/26.17, allocations: 17.16 MB / 6.987 GB, free: 46.81 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/26.17, allocations: 0.5617 MB / 6.987 GB, free: 46.8 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005576/26.17, allocations: 0.7404 MB / 6.988 GB, free: 46.79 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03482/26.21, allocations: 8.614 MB / 6.996 GB, free: 45.5 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004825/26.21, allocations: 23.03 kB / 6.996 GB, free: 45.48 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003165/26.21, allocations: 306.9 kB / 6.997 GB, free: 45.48 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/26.21, allocations: 200.5 kB / 6.997 GB, free: 45.48 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/26.23, allocations: 6.375 MB / 7.003 GB, free: 45.3 MB / 1.245 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.08708/26.32, allocations: 45.77 MB / 7.048 GB, free: 18.78 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/26.33, allocations: 4.026 MB / 7.052 GB, free: 18.64 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005573/26.34, allocations: 2.243 MB / 7.054 GB, free: 18.58 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/26.37, allocations: 9.397 MB / 7.063 GB, free: 13.64 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006207/26.37, allocations: 2.178 MB / 7.065 GB, free: 12.88 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009202/26.38, allocations: 0.5815 MB / 7.066 GB, free: 12.63 MB / 1.245 GB Notification: Performance of pre-optimization done (n=339): time 3.478e-05/26.38, allocations: 0 / 7.066 GB, free: 12.63 MB / 1.245 GB Notification: Performance of matching and sorting (n=339): time 0.02366/26.41, allocations: 7.112 MB / 7.073 GB, free: 9.281 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/26.41, allocations: 85.61 kB / 7.073 GB, free: 9.215 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03464/26.44, allocations: 8.972 MB / 7.082 GB, free: 6.074 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001864/26.44, allocations: 115.8 kB / 7.082 GB, free: 5.988 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01101/26.46, allocations: 5.593 MB / 7.087 GB, free: 1.59 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.003249/26.46, allocations: 1.168 MB / 7.088 GB, free: 0.6602 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001394/26.46, allocations: 101.8 kB / 7.088 GB, free: 0.582 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0007368/26.46, allocations: 487.8 kB / 7.089 GB, free: 200 kB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/26.47, allocations: 1.694 MB / 7.09 GB, free: 15.59 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00867/26.48, allocations: 3.859 MB / 7.094 GB, free: 12.16 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/26.49, allocations: 5.338 MB / 7.099 GB, free: 8.363 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.453e-05/26.49, allocations: 15.38 kB / 7.099 GB, free: 8.363 MB / 1.26 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02315/26.51, allocations: 6.414 MB / 7.106 GB, free: 5.547 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.00223/26.52, allocations: 1.685 MB / 7.107 GB, free: 3.141 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001839/26.52, allocations: 52 kB / 7.107 GB, free: 3.09 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/26.52, allocations: 0.5205 MB / 7.108 GB, free: 2.613 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/26.52, allocations: 1.117 MB / 7.109 GB, free: 1.668 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008189/26.53, allocations: 8.316 MB / 7.117 GB, free: 9.219 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01438/26.55, allocations: 0.7244 MB / 7.118 GB, free: 8.648 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002518/26.55, allocations: 262.8 kB / 7.118 GB, free: 8.414 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/26.55, allocations: 4 kB / 7.118 GB, free: 8.41 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01936/26.57, allocations: 5.378 MB / 7.123 GB, free: 3.59 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002496/26.57, allocations: 54 kB / 7.123 GB, free: 3.539 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/26.57, allocations: 0.5195 MB / 7.124 GB, free: 3.066 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005183/26.58, allocations: 1.09 MB / 7.125 GB, free: 2.133 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008245/26.58, allocations: 8.319 MB / 7.133 GB, free: 9.676 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/26.6, allocations: 0.6947 MB / 7.134 GB, free: 9.133 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001699/26.6, allocations: 260.7 kB / 7.134 GB, free: 8.895 MB / 1.292 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.01272/26.61, allocations: 2.563 MB / 7.137 GB, free: 6.543 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005864/26.62, allocations: 0.9838 MB / 7.138 GB, free: 5.547 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02107/26.64, allocations: 5.426 MB / 7.143 GB, free: 1.023 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.503e-05/26.64, allocations: 46.55 kB / 7.143 GB, free: 0.9844 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.017e-05/26.64, allocations: 1.5 kB / 7.143 GB, free: 0.9844 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377/28.02, allocations: 3.852 MB / 7.147 GB, free: 102.3 MB / 1.292 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.05/28.07, allocations: 12.46 MB / 7.159 GB, free: 101.6 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/28.07, allocations: 4.406 kB / 7.159 GB, free: 101.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/28.07, allocations: 0.7013 MB / 7.159 GB, free: 101.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/28.07, allocations: 464.6 kB / 7.16 GB, free: 101.5 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004932/28.07, allocations: 111.9 kB / 7.16 GB, free: 101.5 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/28.08, allocations: 8.226 MB / 7.168 GB, free: 94.71 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/28.08, allocations: 4.062 kB / 7.168 GB, free: 94.71 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/28.1, allocations: 7.305 MB / 7.175 GB, free: 94.27 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01018/28.11, allocations: 1.637 MB / 7.177 GB, free: 94.18 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005011/28.11, allocations: 70.47 kB / 7.177 GB, free: 94.18 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01179/28.13, allocations: 0.6396 MB / 7.178 GB, free: 94.18 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/28.13, allocations: 226.7 kB / 7.178 GB, free: 94.18 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009096/28.13, allocations: 195 kB / 7.178 GB, free: 94.18 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02231/28.15, allocations: 5.976 MB / 7.184 GB, free: 93.89 MB / 1.292 GB Notification: Performance of sort global known variables: time 1.853e-06/28.15, allocations: 3.266 kB / 7.184 GB, free: 93.89 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.03806/28.19, allocations: 5.566 MB / 7.189 GB, free: 93.89 MB / 1.292 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.01757/28.21, allocations: 6.453 MB / 7.195 GB, free: 91.15 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02068/28.23, allocations: 7.794 MB / 7.203 GB, free: 90.61 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/28.23, allocations: 4.469 kB / 7.203 GB, free: 90.61 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.006188/28.23, allocations: 2.343 MB / 7.205 GB, free: 90.36 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03836/28.27, allocations: 4.835 MB / 7.21 GB, free: 90.32 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05061/28.32, allocations: 21.86 MB / 7.231 GB, free: 81.14 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009984/28.33, allocations: 5.435 MB / 7.237 GB, free: 80.23 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01639/28.35, allocations: 2.576 MB / 7.239 GB, free: 80.12 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003406/28.35, allocations: 0.7391 MB / 7.24 GB, free: 80.12 MB / 1.292 GB Notification: Performance of SimCode: time 1.132e-06/28.35, allocations: 0 / 7.24 GB, free: 80.12 MB / 1.292 GB Notification: Performance of Templates: time 0.4159/28.77, allocations: 205.4 MB / 7.441 GB, free: 65.13 MB / 1.292 GB make -j1 -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)