Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4/4, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.002454/0.002453, allocations: 171.3 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.919/3.919, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001437/0.001436, allocations: 87.73 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007781/0.0007783, allocations: 11.69 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3707, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.115/2.485, allocations: 478.8 MB / 1.367 GB, free: 5.488 MB / 0.8699 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005042/2.486, allocations: 95.83 kB / 1.367 GB, free: 5.438 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 47.45/49.94, allocations: 5.211 GB / 6.578 GB, free: 47.89 MB / 1.135 GB Notification: Performance of FrontEnd: time 5.541e-06/49.94, allocations: 0 / 6.578 GB, free: 47.89 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.005309/49.95, allocations: 320.7 kB / 6.579 GB, free: 47.82 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.09262/50.04, allocations: 13.69 MB / 6.592 GB, free: 41.61 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001086/50.04, allocations: 9.75 kB / 6.592 GB, free: 41.61 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03239/50.07, allocations: 2.478 MB / 6.594 GB, free: 40.84 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1063/50.18, allocations: 16.7 MB / 6.611 GB, free: 38.15 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001658/50.18, allocations: 0.5601 MB / 6.611 GB, free: 38.13 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005367/50.18, allocations: 0.7339 MB / 6.612 GB, free: 38.13 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05355/50.24, allocations: 8.561 MB / 6.62 GB, free: 36.82 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000886/50.24, allocations: 30.34 kB / 6.62 GB, free: 36.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00491/50.24, allocations: 300 kB / 6.621 GB, free: 36.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/50.24, allocations: 195.9 kB / 6.621 GB, free: 36.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04298/50.29, allocations: 6.378 MB / 6.627 GB, free: 36.62 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.1429/50.43, allocations: 45.83 MB / 6.672 GB, free: 7.781 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0264/50.46, allocations: 4.02 MB / 6.676 GB, free: 6.188 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01258/50.47, allocations: 2.244 MB / 6.678 GB, free: 5.359 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04809/50.52, allocations: 9.321 MB / 6.687 GB, free: 14.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01447/50.53, allocations: 2.122 MB / 6.689 GB, free: 14.13 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01295/50.55, allocations: 0.5857 MB / 6.69 GB, free: 13.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 2.806e-05/50.55, allocations: 0 / 6.69 GB, free: 13.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.04874/50.59, allocations: 7.113 MB / 6.697 GB, free: 10.53 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/50.59, allocations: 84.86 kB / 6.697 GB, free: 10.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04703/50.64, allocations: 8.957 MB / 6.705 GB, free: 4.148 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002082/50.64, allocations: 117.7 kB / 6.705 GB, free: 4.027 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01608/50.66, allocations: 5.576 MB / 6.711 GB, free: 14.93 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.004047/50.66, allocations: 1.176 MB / 6.712 GB, free: 13.84 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/50.67, allocations: 92 kB / 6.712 GB, free: 13.75 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0009509/50.67, allocations: 498.3 kB / 6.713 GB, free: 13.32 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01231/50.68, allocations: 1.698 MB / 6.714 GB, free: 11.88 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01673/50.7, allocations: 3.851 MB / 6.718 GB, free: 7.371 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01504/50.71, allocations: 2.286 MB / 6.72 GB, free: 5.258 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/50.71, allocations: 20 kB / 6.72 GB, free: 5.238 MB / 1.167 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.04568/50.76, allocations: 6.416 MB / 6.727 GB, free: 15.41 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002463/50.76, allocations: 1.683 MB / 6.728 GB, free: 13.01 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002525/50.76, allocations: 52 kB / 6.728 GB, free: 12.96 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/50.76, allocations: 0.5218 MB / 6.729 GB, free: 12.48 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01271/50.78, allocations: 1.111 MB / 6.73 GB, free: 11.54 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/50.79, allocations: 8.324 MB / 6.738 GB, free: 3.074 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02177/50.81, allocations: 0.7171 MB / 6.739 GB, free: 2.508 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/50.81, allocations: 265.3 kB / 6.739 GB, free: 2.273 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/50.81, allocations: 4 kB / 6.739 GB, free: 2.27 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.936/52.75, allocations: 5.372 MB / 6.744 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/52.75, allocations: 51.34 kB / 6.744 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/52.75, allocations: 0.5198 MB / 6.745 GB, free: 93.63 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/52.77, allocations: 1.081 MB / 6.746 GB, free: 93.63 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/52.78, allocations: 8.317 MB / 6.754 GB, free: 86.87 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0211/52.8, allocations: 0.6971 MB / 6.755 GB, free: 86.87 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/52.81, allocations: 256.5 kB / 6.755 GB, free: 86.87 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.01684/52.82, allocations: 2.575 MB / 6.757 GB, free: 86.68 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006178/52.83, allocations: 0.9706 MB / 6.758 GB, free: 86.68 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04117/52.87, allocations: 5.421 MB / 6.764 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002033/52.87, allocations: 42.61 kB / 6.764 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-05/52.87, allocations: 3.5 kB / 6.764 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0296/52.9, allocations: 3.85 MB / 6.767 GB, free: 86.11 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.08595/52.99, allocations: 12.4 MB / 6.78 GB, free: 85.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.53e-05/52.99, allocations: 2 kB / 6.78 GB, free: 85.38 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01078/53, allocations: 0.7033 MB / 6.78 GB, free: 85.38 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/53, allocations: 467.5 kB / 6.781 GB, free: 85.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001572/53, allocations: 111.6 kB / 6.781 GB, free: 85.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/53.02, allocations: 8.219 MB / 6.789 GB, free: 78.53 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/53.02, allocations: 0.875 kB / 6.789 GB, free: 78.53 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05001/53.07, allocations: 7.307 MB / 6.796 GB, free: 78.01 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01248/53.08, allocations: 1.616 MB / 6.797 GB, free: 77.39 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006482/53.08, allocations: 69.64 kB / 6.798 GB, free: 77.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.021/53.11, allocations: 0.6397 MB / 6.798 GB, free: 77.37 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001654/53.11, allocations: 228.5 kB / 6.798 GB, free: 77.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001935/53.11, allocations: 189 kB / 6.799 GB, free: 77.36 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03188/53.14, allocations: 5.972 MB / 6.804 GB, free: 77.08 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.084e-06/53.14, allocations: 0 / 6.804 GB, free: 77.08 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0514/53.19, allocations: 5.485 MB / 6.81 GB, free: 76.75 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.02406/53.22, allocations: 6.467 MB / 6.816 GB, free: 73.99 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.04483/53.26, allocations: 7.792 MB / 6.824 GB, free: 73.44 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-05/53.26, allocations: 7.844 kB / 6.824 GB, free: 73.44 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.01485/53.28, allocations: 2.347 MB / 6.826 GB, free: 73.18 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07543/53.35, allocations: 4.927 MB / 6.831 GB, free: 73.12 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1129/53.47, allocations: 21.85 MB / 6.852 GB, free: 63.93 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02819/53.49, allocations: 5.443 MB / 6.857 GB, free: 62.98 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.03892/53.53, allocations: 2.543 MB / 6.86 GB, free: 62.62 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008587/53.54, allocations: 0.7416 MB / 6.861 GB, free: 62.62 MB / 1.182 GB Notification: Performance of SimCode: time 2.514e-06/53.54, allocations: 0 / 6.861 GB, free: 62.62 MB / 1.182 GB Notification: Performance of Templates: time 0.813/54.35, allocations: 201.4 MB / 7.057 GB, free: 45.07 MB / 1.182 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)