Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.0009351/0.0009351, allocations: 176.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007619/0.000762, allocations: 87.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.246e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5785/0.5785, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.66, allocations: 486.9 MB / 1.449 GB, free: 66.98 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.66, allocations: 90.64 kB / 1.449 GB, free: 66.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 18.98/20.64, allocations: 5.363 GB / 6.812 GB, free: 51.06 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.234e-06/20.64, allocations: 0 / 6.812 GB, free: 51.06 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001874/20.64, allocations: 314.7 kB / 6.813 GB, free: 51 MB / 1.198 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.0299/20.67, allocations: 10.64 MB / 6.823 GB, free: 45.82 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/20.67, allocations: 6.875 kB / 6.823 GB, free: 45.82 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/20.69, allocations: 2.483 MB / 6.825 GB, free: 45.04 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04536/20.73, allocations: 19.07 MB / 6.844 GB, free: 38.48 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004305/20.73, allocations: 251.1 kB / 6.844 GB, free: 38.47 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/20.74, allocations: 441.9 kB / 6.845 GB, free: 38.47 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0126/20.75, allocations: 5.561 MB / 6.85 GB, free: 34.27 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/20.77, allocations: 7.258 MB / 6.857 GB, free: 27.64 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002867/20.77, allocations: 23.78 kB / 6.857 GB, free: 27.61 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/20.77, allocations: 16 kB / 6.857 GB, free: 27.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/20.77, allocations: 195.6 kB / 6.857 GB, free: 27.41 MB / 1.198 GB Warning: The model contains alias variables with conflicting start and/or 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.05546/20.82, allocations: 44.92 MB / 6.901 GB, free: 11.84 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006811/20.83, allocations: 3.613 MB / 6.905 GB, free: 8.262 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/20.83, allocations: 2.004 MB / 6.907 GB, free: 6.258 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8679/21.7, allocations: 9.505 MB / 6.916 GB, free: 86.69 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003384/21.7, allocations: 1.876 MB / 6.918 GB, free: 86.59 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00618/21.71, allocations: 0.5356 MB / 6.918 GB, free: 86.59 MB / 1.229 GB Notification: Performance of pre-optimization done (n=339): time 9.377e-06/21.71, allocations: 1.125 kB / 6.918 GB, free: 86.59 MB / 1.229 GB Notification: Performance of matching and sorting (n=339): time 0.01153/21.72, allocations: 4.382 MB / 6.923 GB, free: 86.38 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/21.72, allocations: 89.25 kB / 6.923 GB, free: 86.31 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01528/21.74, allocations: 7.614 MB / 6.93 GB, free: 85.8 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/21.74, allocations: 37.8 kB / 6.93 GB, free: 85.77 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.006467/21.75, allocations: 5.526 MB / 6.936 GB, free: 84.9 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.002219/21.75, allocations: 1.128 MB / 6.937 GB, free: 84.32 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/21.75, allocations: 0 / 6.937 GB, free: 84.32 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 0.0002618/21.75, allocations: 493.7 kB / 6.937 GB, free: 84 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/21.75, allocations: 1.466 MB / 6.939 GB, free: 83.99 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/21.75, allocations: 3.554 MB / 6.942 GB, free: 81.39 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005567/21.76, allocations: 2.345 MB / 6.944 GB, free: 81.33 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/21.76, allocations: 18.06 kB / 6.944 GB, free: 81.33 MB / 1.229 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01315/21.77, allocations: 5.912 MB / 6.95 GB, free: 80.62 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 0.004965/21.78, allocations: 31.14 MB / 6.981 GB, free: 47.54 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/21.78, allocations: 51.16 kB / 6.981 GB, free: 47.54 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/21.78, allocations: 0.4892 MB / 6.981 GB, free: 47.46 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00503/21.78, allocations: 1.113 MB / 6.982 GB, free: 47.46 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/21.79, allocations: 8.222 MB / 6.99 GB, free: 40.76 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009699/21.8, allocations: 0.6135 MB / 6.991 GB, free: 40.73 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/21.8, allocations: 271.6 kB / 6.991 GB, free: 40.73 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/21.8, allocations: 5.625 kB / 6.991 GB, free: 40.73 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01101/21.81, allocations: 4.697 MB / 6.996 GB, free: 40.55 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/21.81, allocations: 52.78 kB / 6.996 GB, free: 40.55 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009936/21.81, allocations: 494.8 kB / 6.996 GB, free: 40.47 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004127/21.82, allocations: 1.083 MB / 6.997 GB, free: 40.47 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005216/21.82, allocations: 8.222 MB / 7.005 GB, free: 33.77 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009254/21.83, allocations: 0.5921 MB / 7.006 GB, free: 33.75 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/21.83, allocations: 255.9 kB / 7.006 GB, free: 33.75 MB / 1.229 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * 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.002131/21.83, allocations: 296.6 kB / 7.006 GB, free: 33.64 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/21.84, allocations: 0.9674 MB / 7.007 GB, free: 33.12 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/21.85, allocations: 4.93 MB / 7.012 GB, free: 32.77 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.048e-05/21.85, allocations: 42.23 kB / 7.012 GB, free: 32.77 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/21.85, allocations: 3.031 kB / 7.012 GB, free: 32.77 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006686/21.86, allocations: 3.439 MB / 7.016 GB, free: 32.52 MB / 1.229 GB Warning: The model contains alias variables with conflicting start and/or 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.02501/21.88, allocations: 11.38 MB / 7.027 GB, free: 31.88 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/21.88, allocations: 6.156 kB / 7.027 GB, free: 31.88 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003044/21.89, allocations: 0.7006 MB / 7.027 GB, free: 31.88 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008984/21.89, allocations: 423.4 kB / 7.028 GB, free: 31.8 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/21.89, allocations: 72.62 kB / 7.028 GB, free: 31.8 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/21.89, allocations: 8.117 MB / 7.036 GB, free: 25.11 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/21.89, allocations: 3.25 kB / 7.036 GB, free: 25.11 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/21.9, allocations: 6.772 MB / 7.042 GB, free: 24.01 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005582/21.91, allocations: 1.724 MB / 7.044 GB, free: 23.39 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00256/21.91, allocations: 13.98 kB / 7.044 GB, free: 23.39 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007334/21.92, allocations: 0.5884 MB / 7.045 GB, free: 23.38 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004261/21.92, allocations: 229.9 kB / 7.045 GB, free: 23.37 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005036/21.92, allocations: 196.6 kB / 7.045 GB, free: 23.37 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01048/21.93, allocations: 5.706 MB / 7.051 GB, free: 23.08 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.71e-07/21.93, allocations: 0 / 7.051 GB, free: 23.08 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.02249/21.95, allocations: 5.599 MB / 7.056 GB, free: 22.75 MB / 1.229 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) * 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.01312/21.96, allocations: 6.544 MB / 7.063 GB, free: 20 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01226/21.98, allocations: 7.259 MB / 7.07 GB, free: 19.46 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/21.98, allocations: 2.75 kB / 7.07 GB, free: 19.46 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/21.98, allocations: 2.087 MB / 7.072 GB, free: 19.24 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02223/22, allocations: 4.689 MB / 7.076 GB, free: 19.17 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02711/22.03, allocations: 14.52 MB / 7.09 GB, free: 15.63 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006702/22.04, allocations: 5.664 MB / 7.096 GB, free: 30.7 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01687/22.05, allocations: 3.794 MB / 7.1 GB, free: 30.25 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/22.05, allocations: 0.5546 MB / 7.1 GB, free: 30.25 MB / 1.245 GB Notification: Performance of SimCode: time 6.11e-07/22.05, allocations: 4 kB / 7.1 GB, free: 30.25 MB / 1.245 GB Notification: Performance of Templates: time 0.2714/22.33, allocations: 193.4 MB / 7.289 GB, free: 10.49 MB / 1.245 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)