Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.653/1.653, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.0009809/0.0009809, allocations: 192.3 kB / 361.4 MB, free: 6.805 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.642/1.642, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009783/0.0009787, allocations: 89.03 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.133e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8331, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.302/2.136, allocations: 485.9 MB / 1.439 GB, free: 78.26 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/2.136, allocations: 85.75 kB / 1.439 GB, free: 78.22 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 23.74/25.88, allocations: 5.364 GB / 6.803 GB, free: 21.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 4.679e-06/25.88, allocations: 0 / 6.803 GB, free: 21.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.003385/25.88, allocations: 315.7 kB / 6.803 GB, free: 21.5 MB / 1.182 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.03907/25.92, allocations: 10.65 MB / 6.813 GB, free: 10.72 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/25.92, allocations: 12.03 kB / 6.813 GB, free: 10.71 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/25.94, allocations: 2.475 MB / 6.816 GB, free: 8.219 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06626/26.01, allocations: 19.07 MB / 6.834 GB, free: 5.098 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006974/26.01, allocations: 240 kB / 6.835 GB, free: 4.863 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003467/26.01, allocations: 444 kB / 6.835 GB, free: 4.43 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02053/26.03, allocations: 5.558 MB / 6.84 GB, free: 14.87 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/26.06, allocations: 7.268 MB / 6.847 GB, free: 7.203 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005699/26.06, allocations: 19.78 kB / 6.848 GB, free: 7.184 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00317/26.07, allocations: 16 kB / 6.848 GB, free: 7.168 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002747/26.07, allocations: 199.9 kB / 6.848 GB, free: 6.973 MB / 1.214 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 2.536/28.6, allocations: 44.88 MB / 6.892 GB, free: 40.64 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/28.61, allocations: 3.63 MB / 6.895 GB, free: 40.6 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/28.62, allocations: 2.009 MB / 6.897 GB, free: 40.57 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02842/28.64, allocations: 9.51 MB / 6.906 GB, free: 36.86 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004691/28.65, allocations: 1.87 MB / 6.908 GB, free: 36.76 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008361/28.66, allocations: 0.543 MB / 6.909 GB, free: 36.67 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 1.977e-05/28.66, allocations: 0 / 6.909 GB, free: 36.67 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01544/28.67, allocations: 4.373 MB / 6.913 GB, free: 35.94 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/28.67, allocations: 87.7 kB / 6.913 GB, free: 35.88 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03308/28.71, allocations: 7.613 MB / 6.92 GB, free: 35.32 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001738/28.71, allocations: 39.58 kB / 6.921 GB, free: 35.29 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.01422/28.72, allocations: 5.523 MB / 6.926 GB, free: 34.18 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.004861/28.73, allocations: 1.13 MB / 6.927 GB, free: 33.59 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/28.73, allocations: 1.031 kB / 6.927 GB, free: 33.59 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.001005/28.73, allocations: 0.4886 MB / 6.927 GB, free: 33.28 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/28.74, allocations: 1.46 MB / 6.929 GB, free: 33.26 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008629/28.74, allocations: 3.552 MB / 6.932 GB, free: 30.66 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008963/28.75, allocations: 2.348 MB / 6.935 GB, free: 30.59 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001876/28.75, allocations: 16.25 kB / 6.935 GB, free: 30.59 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02611/28.78, allocations: 5.905 MB / 6.94 GB, free: 29.89 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01838/28.8, allocations: 31.15 MB / 6.971 GB, free: 28.8 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004151/28.8, allocations: 52.56 kB / 6.971 GB, free: 28.8 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/28.8, allocations: 0.4899 MB / 6.971 GB, free: 28.72 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/28.81, allocations: 1.111 MB / 6.973 GB, free: 28.72 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/28.82, allocations: 8.218 MB / 6.981 GB, free: 38.03 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/28.84, allocations: 0.6156 MB / 6.981 GB, free: 37.99 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002221/28.84, allocations: 270.8 kB / 6.981 GB, free: 37.99 MB / 1.261 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/28.84, allocations: 4.062 kB / 6.981 GB, free: 37.99 MB / 1.261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01776/28.86, allocations: 4.695 MB / 6.986 GB, free: 37.82 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002829/28.86, allocations: 53.56 kB / 6.986 GB, free: 37.82 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/28.86, allocations: 498.3 kB / 6.987 GB, free: 37.74 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/28.86, allocations: 1.083 MB / 6.988 GB, free: 37.74 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/28.87, allocations: 8.233 MB / 6.996 GB, free: 31.02 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/28.88, allocations: 0.5894 MB / 6.996 GB, free: 31 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/28.89, allocations: 261.6 kB / 6.996 GB, free: 31 MB / 1.261 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.004468/28.89, allocations: 287.1 kB / 6.997 GB, free: 30.89 MB / 1.261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01623/28.91, allocations: 4.214 MB / 7.001 GB, free: 30.16 MB / 1.261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004765/28.91, allocations: 0.9736 MB / 7.002 GB, free: 29.64 MB / 1.261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/28.93, allocations: 4.925 MB / 7.007 GB, free: 29.29 MB / 1.261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.557e-05/28.93, allocations: 47.64 kB / 7.007 GB, free: 29.29 MB / 1.261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.077e-05/28.93, allocations: 2.562 kB / 7.007 GB, free: 29.29 MB / 1.261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009589/28.94, allocations: 3.441 MB / 7.01 GB, free: 29.05 MB / 1.261 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.05122/28.99, allocations: 11.38 MB / 7.021 GB, free: 28.4 MB / 1.261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/28.99, allocations: 2.656 kB / 7.021 GB, free: 28.4 MB / 1.261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004158/28.99, allocations: 0.7045 MB / 7.022 GB, free: 28.4 MB / 1.261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001441/29, allocations: 423.4 kB / 7.022 GB, free: 28.32 MB / 1.261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008999/29, allocations: 69.31 kB / 7.022 GB, free: 28.32 MB / 1.261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007906/29, allocations: 8.119 MB / 7.03 GB, free: 21.62 MB / 1.261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/29, allocations: 1.875 kB / 7.03 GB, free: 21.62 MB / 1.261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02184/29.03, allocations: 6.77 MB / 7.037 GB, free: 20.53 MB / 1.261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009519/29.04, allocations: 1.724 MB / 7.038 GB, free: 19.91 MB / 1.261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004998/29.04, allocations: 19.14 kB / 7.038 GB, free: 19.91 MB / 1.261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01202/29.05, allocations: 0.5882 MB / 7.039 GB, free: 19.89 MB / 1.261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/29.05, allocations: 224.3 kB / 7.039 GB, free: 19.89 MB / 1.261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001438/29.06, allocations: 197.8 kB / 7.039 GB, free: 19.89 MB / 1.261 GB Notification: Performance of sorting global known variables: time 0.0208/29.08, allocations: 5.708 MB / 7.045 GB, free: 19.61 MB / 1.261 GB Notification: Performance of sort global known variables: time 1.233e-06/29.08, allocations: 2.562 kB / 7.045 GB, free: 19.61 MB / 1.261 GB Notification: Performance of remove unused functions: time 0.04055/29.12, allocations: 5.594 MB / 7.051 GB, free: 19.27 MB / 1.261 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.04118/29.16, allocations: 13.81 MB / 7.064 GB, free: 15.02 MB / 1.261 GB Notification: Performance of simCode: created initialization part: time 0.02137/29.18, allocations: 7.262 MB / 7.071 GB, free: 14.49 MB / 1.261 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/29.18, allocations: 5.781 kB / 7.071 GB, free: 14.49 MB / 1.261 GB Notification: Performance of simCode: created simulation system equations: time 0.005557/29.19, allocations: 2.082 MB / 7.073 GB, free: 14.26 MB / 1.261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03346/29.22, allocations: 4.692 MB / 7.078 GB, free: 30.18 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07562/29.3, allocations: 16.94 MB / 7.094 GB, free: 26.36 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01551/29.31, allocations: 5.669 MB / 7.1 GB, free: 25.29 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03182/29.34, allocations: 3.784 MB / 7.103 GB, free: 24.84 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01563/29.36, allocations: 4.879 MB / 7.108 GB, free: 24.83 MB / 1.276 GB Notification: Performance of SimCode: time 2.865e-06/29.36, allocations: 0 / 7.108 GB, free: 24.83 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.011/31.37, allocations: 285 MB / 7.387 GB, free: 158.9 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/31.37, allocations: 203.3 kB / 7.387 GB, free: 158.6 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/51.06, allocations: 0 / 7.387 GB, free: 158.6 MB / 1.307 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)