Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.626/2.626, allocations: 287.5 MB / 303.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 186.9 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.052/2.052, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009053/0.000905, allocations: 105.4 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004859, allocations: 11.72 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9793 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.098/2.322, allocations: 486.7 MB / 1.455 GB, free: 335.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005191/2.322, allocations: 97.14 kB / 1.455 GB, free: 335.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 29.83/32.16, allocations: 5.361 GB / 6.816 GB, free: 61.31 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.418e-06/32.16, allocations: 0 / 6.816 GB, free: 61.31 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.002833/32.16, allocations: 311.9 kB / 6.816 GB, free: 61.26 MB / 1.214 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.06297/32.22, allocations: 13.58 MB / 6.83 GB, free: 55.31 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/32.22, allocations: 11.22 kB / 6.83 GB, free: 55.31 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02155/32.24, allocations: 2.482 MB / 6.832 GB, free: 54.59 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07954/32.32, allocations: 17.14 MB / 6.849 GB, free: 52.09 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/32.32, allocations: 0.5631 MB / 6.849 GB, free: 52.07 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00374/32.33, allocations: 0.7427 MB / 6.85 GB, free: 52.07 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05747/32.38, allocations: 8.614 MB / 6.858 GB, free: 50.86 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005109/32.39, allocations: 24.38 kB / 6.858 GB, free: 50.85 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/32.39, allocations: 306.4 kB / 6.859 GB, free: 50.85 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/32.39, allocations: 203.6 kB / 6.859 GB, free: 50.85 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03497/32.42, allocations: 6.372 MB / 6.865 GB, free: 50.79 MB / 1.214 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.09892/32.52, allocations: 45.77 MB / 6.91 GB, free: 25.06 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/32.54, allocations: 4.014 MB / 6.914 GB, free: 24.97 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008161/32.55, allocations: 2.252 MB / 6.916 GB, free: 24.92 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03157/32.58, allocations: 9.393 MB / 6.925 GB, free: 21.11 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009309/32.59, allocations: 2.163 MB / 6.927 GB, free: 21 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009148/32.6, allocations: 0.5923 MB / 6.928 GB, free: 20.8 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 2.577e-05/32.6, allocations: 0 / 6.928 GB, free: 20.8 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.03147/32.63, allocations: 7.115 MB / 6.935 GB, free: 19.06 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/32.63, allocations: 93.44 kB / 6.935 GB, free: 18.99 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02696/32.66, allocations: 8.957 MB / 6.944 GB, free: 18.34 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001377/32.66, allocations: 122.2 kB / 6.944 GB, free: 18.31 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009666/32.67, allocations: 5.581 MB / 6.949 GB, free: 16.75 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002436/32.67, allocations: 1.168 MB / 6.95 GB, free: 16 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006003/32.67, allocations: 96.41 kB / 6.95 GB, free: 16 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0004048/32.67, allocations: 496 kB / 6.951 GB, free: 15.69 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007304/32.68, allocations: 1.692 MB / 6.953 GB, free: 15.66 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009447/32.69, allocations: 3.859 MB / 6.956 GB, free: 12.97 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01661/32.71, allocations: 5.342 MB / 6.962 GB, free: 10.88 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.911e-05/32.71, allocations: 15.06 kB / 6.962 GB, free: 10.88 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02557/32.73, allocations: 6.425 MB / 6.968 GB, free: 9.941 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/32.73, allocations: 1.679 MB / 6.969 GB, free: 7.797 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/32.73, allocations: 52.22 kB / 6.97 GB, free: 7.797 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/32.73, allocations: 0.5201 MB / 6.97 GB, free: 7.707 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008882/32.74, allocations: 1.113 MB / 6.971 GB, free: 7.629 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007318/32.75, allocations: 8.323 MB / 6.979 GB, free: 0.7344 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01548/32.77, allocations: 0.7136 MB / 6.98 GB, free: 0.6289 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/32.77, allocations: 272.1 kB / 6.98 GB, free: 0.6289 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/32.77, allocations: 8.594 kB / 6.98 GB, free: 0.625 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02008/32.79, allocations: 5.374 MB / 6.985 GB, free: 44 kB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/32.79, allocations: 50.88 kB / 6.985 GB, free: 44 kB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/32.79, allocations: 0.5302 MB / 6.986 GB, free: 15.95 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008275/32.8, allocations: 1.076 MB / 6.987 GB, free: 15.88 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/32.81, allocations: 8.327 MB / 6.995 GB, free: 8.988 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/32.82, allocations: 0.6872 MB / 6.996 GB, free: 8.898 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/32.82, allocations: 257.3 kB / 6.996 GB, free: 8.898 MB / 1.229 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.009912/32.83, allocations: 2.571 MB / 6.999 GB, free: 8.594 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003819/32.84, allocations: 0.982 MB / 7 GB, free: 8.066 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0239/32.86, allocations: 5.41 MB / 7.005 GB, free: 7.629 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/32.86, allocations: 49.89 kB / 7.005 GB, free: 7.625 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/32.86, allocations: 7.328 kB / 7.005 GB, free: 7.625 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01593/32.88, allocations: 3.852 MB / 7.009 GB, free: 7.344 MB / 1.229 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.04876/32.93, allocations: 12.47 MB / 7.021 GB, free: 6.535 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/32.93, allocations: 0 / 7.021 GB, free: 6.535 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006723/32.93, allocations: 0.7054 MB / 7.022 GB, free: 6.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/32.93, allocations: 462.4 kB / 7.022 GB, free: 6.41 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008948/32.94, allocations: 113.4 kB / 7.022 GB, free: 6.41 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008688/32.94, allocations: 8.218 MB / 7.03 GB, free: 15.55 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/32.94, allocations: 2.188 kB / 7.03 GB, free: 15.55 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02769/32.97, allocations: 7.314 MB / 7.037 GB, free: 14.52 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0081/32.98, allocations: 1.647 MB / 7.039 GB, free: 13.89 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004003/32.98, allocations: 69.8 kB / 7.039 GB, free: 13.89 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01346/33, allocations: 0.6428 MB / 7.04 GB, free: 13.8 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009733/33, allocations: 221.7 kB / 7.04 GB, free: 13.8 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008795/33, allocations: 194.7 kB / 7.04 GB, free: 13.8 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01679/33.02, allocations: 5.974 MB / 7.046 GB, free: 13.51 MB / 1.245 GB Notification: Performance of sort global known variables: time 7.81e-07/33.02, allocations: 0 / 7.046 GB, free: 13.51 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.03136/33.05, allocations: 5.56 MB / 7.051 GB, free: 12.71 MB / 1.245 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.01579/33.06, allocations: 6.448 MB / 7.058 GB, free: 9.207 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.02829/33.09, allocations: 7.784 MB / 7.065 GB, free: 8.25 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/33.09, allocations: 4.531 kB / 7.065 GB, free: 8.25 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.008997/33.1, allocations: 2.346 MB / 7.067 GB, free: 7.926 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04719/33.15, allocations: 4.849 MB / 7.072 GB, free: 7.641 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06495/33.21, allocations: 21.86 MB / 7.094 GB, free: 12.36 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01463/33.23, allocations: 5.429 MB / 7.099 GB, free: 10.89 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.02523/33.25, allocations: 2.574 MB / 7.101 GB, free: 10.5 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004235/33.26, allocations: 0.7448 MB / 7.102 GB, free: 10.45 MB / 1.26 GB Notification: Performance of SimCode: time 1.383e-06/33.26, allocations: 0 / 7.102 GB, free: 10.45 MB / 1.26 GB Notification: Performance of Templates: time 1.903/35.16, allocations: 204 MB / 7.301 GB, free: 109.3 MB / 1.276 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)