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.413/1.413, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001194/0.001195, allocations: 180.2 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.000916/0.0009156, allocations: 95.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003931, allocations: 9 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.388, allocations: 479 MB / 1.368 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.388, allocations: 92.27 kB / 1.368 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 24.29/25.68, allocations: 5.254 GB / 6.622 GB, free: 44.55 MB / 1.135 GB Notification: Performance of FrontEnd: time 4.248e-06/25.68, allocations: 0 / 6.622 GB, free: 44.55 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003227/25.68, allocations: 320 kB / 6.622 GB, free: 44.47 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.06194/25.74, allocations: 13.69 MB / 6.636 GB, free: 38.07 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/25.74, allocations: 10.09 kB / 6.636 GB, free: 38.07 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006737/25.75, allocations: 0.9266 MB / 6.637 GB, free: 37.99 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/25.77, allocations: 2.483 MB / 6.639 GB, free: 37.21 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06296/25.83, allocations: 19.17 MB / 6.658 GB, free: 34.47 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009799/25.83, allocations: 0.556 MB / 6.658 GB, free: 34.45 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/25.84, allocations: 0.7351 MB / 6.659 GB, free: 34.45 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03198/25.87, allocations: 8.524 MB / 6.667 GB, free: 31.91 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003732/25.87, allocations: 19.33 kB / 6.667 GB, free: 31.9 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002977/25.87, allocations: 307.6 kB / 6.668 GB, free: 31.68 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/25.87, allocations: 202.2 kB / 6.668 GB, free: 31.66 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02295/25.89, allocations: 6.377 MB / 6.674 GB, free: 28.69 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.09186/25.99, allocations: 46.21 MB / 6.719 GB, free: 14.34 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/26, allocations: 4.025 MB / 6.723 GB, free: 10.36 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02723/26.02, allocations: 9.455 MB / 6.732 GB, free: 244 kB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351/27.38, allocations: 2.122 MB / 6.734 GB, free: 84.22 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009431/27.39, allocations: 0.6277 MB / 6.735 GB, free: 84.22 MB / 1.167 GB Notification: Performance of pre-optimization done (n=341): time 3.909e-05/27.39, allocations: 0 / 6.735 GB, free: 84.22 MB / 1.167 GB Notification: Performance of matching and sorting (n=341): time 0.02618/27.41, allocations: 7.135 MB / 6.742 GB, free: 83.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/27.41, allocations: 90.38 kB / 6.742 GB, free: 82.95 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02783/27.44, allocations: 8.331 MB / 6.75 GB, free: 82.44 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001689/27.44, allocations: 114.5 kB / 6.75 GB, free: 82.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009834/27.45, allocations: 5.549 MB / 6.756 GB, free: 81.87 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002485/27.45, allocations: 1.18 MB / 6.757 GB, free: 81.29 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004489/27.45, allocations: 93.44 kB / 6.757 GB, free: 81.29 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000364/27.45, allocations: 499.8 kB / 6.757 GB, free: 80.97 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/27.46, allocations: 1.702 MB / 6.759 GB, free: 80.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0057/27.46, allocations: 3.843 MB / 6.763 GB, free: 78.34 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/27.47, allocations: 2.298 MB / 6.765 GB, free: 78.27 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/27.47, allocations: 13.84 kB / 6.765 GB, free: 78.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.0198/27.49, allocations: 6.44 MB / 6.771 GB, free: 77.56 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008628/27.5, allocations: 31.39 MB / 6.802 GB, free: 44.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/27.5, allocations: 54.06 kB / 6.802 GB, free: 44.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/27.5, allocations: 0.5212 MB / 6.803 GB, free: 44.32 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/27.51, allocations: 1.122 MB / 6.804 GB, free: 44.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/27.51, allocations: 8.361 MB / 6.812 GB, free: 37.51 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/27.53, allocations: 0.7193 MB / 6.813 GB, free: 37.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/27.53, allocations: 264.3 kB / 6.813 GB, free: 37.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/27.53, allocations: 4.844 kB / 6.813 GB, free: 37.48 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01443/27.54, allocations: 5.391 MB / 6.818 GB, free: 37.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/27.54, allocations: 52.91 kB / 6.818 GB, free: 37.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/27.55, allocations: 0.5255 MB / 6.819 GB, free: 37.22 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/27.55, allocations: 1.086 MB / 6.82 GB, free: 37.22 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005559/27.56, allocations: 8.364 MB / 6.828 GB, free: 30.41 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01449/27.57, allocations: 0.697 MB / 6.829 GB, free: 30.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/27.57, allocations: 257.6 kB / 6.829 GB, free: 30.39 MB / 1.167 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 (582): * Single equations (assignments): 568 * 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.01311/27.59, allocations: 2.567 MB / 6.831 GB, free: 30.19 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00575/27.59, allocations: 0.9692 MB / 6.832 GB, free: 29.67 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01816/27.61, allocations: 5.434 MB / 6.838 GB, free: 29.32 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.852e-05/27.61, allocations: 46.16 kB / 6.838 GB, free: 29.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/27.61, allocations: 3.953 kB / 6.838 GB, free: 29.31 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009054/27.62, allocations: 3.859 MB / 6.841 GB, free: 29.07 MB / 1.167 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.0455/27.67, allocations: 12.63 MB / 6.854 GB, free: 28.33 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/27.67, allocations: 3.281 kB / 6.854 GB, free: 28.33 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003588/27.67, allocations: 0.7099 MB / 6.854 GB, free: 28.33 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/27.67, allocations: 465.6 kB / 6.855 GB, free: 28.25 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005574/27.67, allocations: 109.5 kB / 6.855 GB, free: 28.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/27.68, allocations: 8.271 MB / 6.863 GB, free: 37.44 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/27.68, allocations: 0.7188 kB / 6.863 GB, free: 37.44 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02578/27.7, allocations: 7.465 MB / 6.87 GB, free: 36.34 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009975/27.71, allocations: 1.718 MB / 6.872 GB, free: 35.71 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004737/27.72, allocations: 70.34 kB / 6.872 GB, free: 35.71 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01127/27.73, allocations: 0.6454 MB / 6.873 GB, free: 35.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/27.73, allocations: 227.6 kB / 6.873 GB, free: 35.69 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008155/27.73, allocations: 188.8 kB / 6.873 GB, free: 35.69 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.02012/27.75, allocations: 6.403 MB / 6.879 GB, free: 35.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.355e-06/27.75, allocations: 0 / 6.879 GB, free: 35.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03619/27.79, allocations: 5.746 MB / 6.885 GB, free: 35.08 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 (344): * Single equations (assignments): 313 * 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.03607/27.82, allocations: 14.8 MB / 6.899 GB, free: 30.68 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01986/27.84, allocations: 7.82 MB / 6.907 GB, free: 30.12 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/27.84, allocations: 3.469 kB / 6.907 GB, free: 30.12 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005466/27.85, allocations: 2.36 MB / 6.909 GB, free: 29.86 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03087/27.88, allocations: 4.863 MB / 6.914 GB, free: 29.79 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1401/28.02, allocations: 76.85 MB / 6.989 GB, free: 13.03 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0177/28.04, allocations: 5.64 MB / 6.995 GB, free: 11.98 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02033/28.06, allocations: 2.575 MB / 6.997 GB, free: 11.63 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01495/28.07, allocations: 5.089 MB / 7.002 GB, free: 11.62 MB / 1.229 GB Notification: Performance of SimCode: time 1.823e-06/28.07, allocations: 0 / 7.002 GB, free: 11.62 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.967/31.04, allocations: 310.8 MB / 7.306 GB, free: 138.6 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/31.04, allocations: 285 kB / 7.306 GB, free: 138.2 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/47.94, allocations: 0 / 7.306 GB, free: 138.2 MB / 1.245 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)