Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001005/0.001005, allocations: 100.9 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.35e-05, allocations: 3.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.184, allocations: 478.9 MB / 1.36 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/2.185, allocations: 87.55 kB / 1.36 GB, free: 231.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 23.2/25.39, allocations: 5.238 GB / 6.597 GB, free: 61.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.125e-06/25.39, allocations: 1.312 kB / 6.597 GB, free: 61.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.003088/25.39, allocations: 317 kB / 6.598 GB, free: 61.09 MB / 1.151 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.03914/25.43, allocations: 10.63 MB / 6.608 GB, free: 56.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/25.43, allocations: 9.5 kB / 6.608 GB, free: 56.47 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004721/25.44, allocations: 0.9174 MB / 6.609 GB, free: 56.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/25.45, allocations: 2.477 MB / 6.611 GB, free: 55.68 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06046/25.51, allocations: 19.06 MB / 6.63 GB, free: 53.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008793/25.51, allocations: 0.56 MB / 6.63 GB, free: 53.63 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/25.52, allocations: 0.746 MB / 6.631 GB, free: 53.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02368/25.54, allocations: 8.242 MB / 6.639 GB, free: 52.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/25.54, allocations: 22.84 kB / 6.639 GB, free: 52.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001383/25.54, allocations: 300.2 kB / 6.64 GB, free: 52.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002019/25.54, allocations: 204.9 kB / 6.64 GB, free: 52.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/25.56, allocations: 5.921 MB / 6.646 GB, free: 52.35 MB / 1.151 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.0786/25.64, allocations: 46.21 MB / 6.691 GB, free: 26.37 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007546/25.65, allocations: 3.657 MB / 6.694 GB, free: 26.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/25.65, allocations: 2.057 MB / 6.696 GB, free: 26.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02496/25.67, allocations: 9.6 MB / 6.706 GB, free: 22.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003863/25.68, allocations: 1.937 MB / 6.707 GB, free: 22.35 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007132/25.69, allocations: 0.62 MB / 6.708 GB, free: 22.16 MB / 1.151 GB Notification: Performance of pre-optimization done (n=339): time 2.455e-05/25.69, allocations: 0 / 6.708 GB, free: 22.16 MB / 1.151 GB Notification: Performance of matching and sorting (n=339): time 0.01106/25.7, allocations: 4.181 MB / 6.712 GB, free: 21.43 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/25.7, allocations: 90.86 kB / 6.712 GB, free: 21.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0189/25.72, allocations: 8.223 MB / 6.72 GB, free: 20.72 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001284/25.72, allocations: 116.5 kB / 6.72 GB, free: 20.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.007404/25.72, allocations: 5.551 MB / 6.726 GB, free: 19.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/25.73, allocations: 1.175 MB / 6.727 GB, free: 18.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/25.73, allocations: 94.44 kB / 6.727 GB, free: 18.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003163/25.73, allocations: 493.4 kB / 6.728 GB, free: 18.09 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/25.73, allocations: 1.499 MB / 6.729 GB, free: 18.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/25.73, allocations: 3.646 MB / 6.733 GB, free: 15.46 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/25.74, allocations: 2.111 MB / 6.735 GB, free: 15.38 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/25.74, allocations: 16.97 kB / 6.735 GB, free: 15.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.01369/25.75, allocations: 6.024 MB / 6.741 GB, free: 14.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01221/25.76, allocations: 31.29 MB / 6.771 GB, free: 13.58 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/25.76, allocations: 53.81 kB / 6.771 GB, free: 13.58 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/25.77, allocations: 0.5289 MB / 6.772 GB, free: 13.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/25.77, allocations: 1.115 MB / 6.773 GB, free: 13.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/25.78, allocations: 8.301 MB / 6.781 GB, free: 22.69 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/25.79, allocations: 0.7162 MB / 6.782 GB, free: 22.63 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/25.79, allocations: 268.3 kB / 6.782 GB, free: 22.63 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/25.79, allocations: 7.406 kB / 6.782 GB, free: 22.63 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009412/25.8, allocations: 5.019 MB / 6.787 GB, free: 22.45 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/25.8, allocations: 54.72 kB / 6.787 GB, free: 22.45 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/25.8, allocations: 0.5226 MB / 6.787 GB, free: 22.37 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004084/25.8, allocations: 1.084 MB / 6.788 GB, free: 22.37 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/25.81, allocations: 8.306 MB / 6.796 GB, free: 15.55 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/25.82, allocations: 0.6994 MB / 6.797 GB, free: 15.45 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/25.82, allocations: 253.9 kB / 6.797 GB, free: 15.45 MB / 1.198 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 () * 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.002111/25.83, allocations: 444.2 kB / 6.798 GB, free: 15.31 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003565/25.83, allocations: 0.9731 MB / 6.799 GB, free: 14.79 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/25.84, allocations: 5.06 MB / 6.804 GB, free: 14.39 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/25.84, allocations: 38.38 kB / 6.804 GB, free: 14.39 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/25.84, allocations: 5.422 kB / 6.804 GB, free: 14.39 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00592/25.85, allocations: 3.48 MB / 6.807 GB, free: 14.14 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 postOpt removeSimpleEquations (simulation): time 0.03738/25.89, allocations: 12.23 MB / 6.819 GB, free: 13.37 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/25.89, allocations: 2.594 kB / 6.819 GB, free: 13.37 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/25.89, allocations: 0.7105 MB / 6.82 GB, free: 13.36 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/25.89, allocations: 454.3 kB / 6.82 GB, free: 13.28 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004855/25.89, allocations: 114.4 kB / 6.82 GB, free: 13.28 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005994/25.9, allocations: 8.203 MB / 6.828 GB, free: 6.445 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/25.9, allocations: 4.75 kB / 6.828 GB, free: 6.445 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/25.91, allocations: 6.878 MB / 6.835 GB, free: 5.336 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008472/25.92, allocations: 1.708 MB / 6.837 GB, free: 4.707 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003905/25.92, allocations: 72.5 kB / 6.837 GB, free: 4.707 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009569/25.93, allocations: 0.6426 MB / 6.837 GB, free: 4.621 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008173/25.93, allocations: 228.2 kB / 6.838 GB, free: 4.613 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001014/25.93, allocations: 186.5 kB / 6.838 GB, free: 4.613 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01789/25.95, allocations: 6.3 MB / 6.844 GB, free: 4.281 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.51e-07/25.95, allocations: 0 / 6.844 GB, free: 4.281 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.03264/25.98, allocations: 5.759 MB / 6.85 GB, free: 3.426 MB / 1.198 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.03066/26.02, allocations: 14.17 MB / 6.863 GB, free: 14.25 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.01655/26.03, allocations: 7.614 MB / 6.871 GB, free: 13.28 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/26.03, allocations: 2.375 kB / 6.871 GB, free: 13.28 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.004803/26.04, allocations: 2.159 MB / 6.873 GB, free: 12.96 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02805/26.06, allocations: 4.862 MB / 6.878 GB, free: 12.64 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05981/26.12, allocations: 17.27 MB / 6.895 GB, free: 8.148 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00944/26.13, allocations: 5.665 MB / 6.9 GB, free: 7.078 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.02279/26.16, allocations: 3.803 MB / 6.904 GB, free: 6.566 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009247/26.17, allocations: 4.883 MB / 6.909 GB, free: 6.555 MB / 1.214 GB Notification: Performance of SimCode: time 1.433e-06/26.17, allocations: 3.875 kB / 6.909 GB, free: 6.555 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.687/27.85, allocations: 326.4 MB / 7.227 GB, free: 113.1 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/27.85, allocations: 266.6 kB / 7.228 GB, free: 112.7 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.31/48.16, allocations: 0 / 7.228 GB, free: 112.7 MB / 1.229 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)