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.773/1.773, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001259/0.001258, allocations: 181 kB / 371.8 MB, free: 10.24 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.834/1.834, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0009479/0.0009479, allocations: 98.84 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004788, allocations: 10.22 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.315, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.98/2.295, allocations: 486.7 MB / 1.455 GB, free: 335.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/2.295, allocations: 92.7 kB / 1.455 GB, free: 335.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 23.98/26.27, allocations: 5.404 GB / 6.859 GB, free: 59.79 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.947e-06/26.27, allocations: 2.344 kB / 6.859 GB, free: 59.79 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.00349/26.28, allocations: 322 kB / 6.859 GB, free: 59.73 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.06789/26.34, allocations: 13.71 MB / 6.872 GB, free: 53.7 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/26.34, allocations: 10.28 kB / 6.872 GB, free: 53.7 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006743/26.35, allocations: 0.9286 MB / 6.873 GB, free: 53.62 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/26.37, allocations: 2.485 MB / 6.876 GB, free: 52.9 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07177/26.44, allocations: 19.2 MB / 6.894 GB, free: 50.88 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001385/26.44, allocations: 0.561 MB / 6.895 GB, free: 50.86 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004717/26.45, allocations: 0.7419 MB / 6.896 GB, free: 50.85 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/26.48, allocations: 8.571 MB / 6.904 GB, free: 49.64 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008079/26.48, allocations: 20.34 kB / 6.904 GB, free: 49.64 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00494/26.49, allocations: 308 kB / 6.904 GB, free: 49.64 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005147/26.49, allocations: 196.7 kB / 6.904 GB, free: 49.64 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02528/26.51, allocations: 6.38 MB / 6.911 GB, free: 49.58 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.09295/26.61, allocations: 46.14 MB / 6.956 GB, free: 23.66 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/26.62, allocations: 4.021 MB / 6.96 GB, free: 23.54 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/26.65, allocations: 9.519 MB / 6.969 GB, free: 19.84 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007265/26.66, allocations: 2.183 MB / 6.971 GB, free: 19.72 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01057/26.67, allocations: 0.6312 MB / 6.972 GB, free: 19.5 MB / 1.214 GB Notification: Performance of pre-optimization done (n=341): time 3.882e-05/26.67, allocations: 4 kB / 6.972 GB, free: 19.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=341): time 0.02503/26.69, allocations: 7.139 MB / 6.979 GB, free: 17.72 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/26.69, allocations: 84.75 kB / 6.979 GB, free: 17.66 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02884/26.72, allocations: 8.333 MB / 6.987 GB, free: 17.06 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001691/26.72, allocations: 117.7 kB / 6.987 GB, free: 17.03 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0106/26.73, allocations: 5.557 MB / 6.992 GB, free: 15.46 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.002886/26.74, allocations: 1.173 MB / 6.994 GB, free: 14.71 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/26.74, allocations: 98.52 kB / 6.994 GB, free: 14.71 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000624/26.74, allocations: 493 kB / 6.994 GB, free: 14.4 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005336/26.74, allocations: 1.695 MB / 6.996 GB, free: 14.38 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00761/26.75, allocations: 3.851 MB / 7 GB, free: 11.68 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/26.76, allocations: 2.291 MB / 7.002 GB, free: 11.47 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/26.76, allocations: 15.75 kB / 7.002 GB, free: 11.47 MB / 1.214 GB Notification: Performance of matching and sorting (n=614) (initialization): time 0.02249/26.78, allocations: 6.447 MB / 7.008 GB, free: 10.37 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01409/26.79, allocations: 31.38 MB / 7.039 GB, free: 8.953 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003213/26.79, allocations: 52.56 kB / 7.039 GB, free: 8.953 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/26.8, allocations: 0.5336 MB / 7.039 GB, free: 8.863 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005939/26.8, allocations: 1.123 MB / 7.04 GB, free: 8.781 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/26.81, allocations: 8.355 MB / 7.049 GB, free: 1.906 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/26.83, allocations: 0.7187 MB / 7.049 GB, free: 1.801 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/26.83, allocations: 268.5 kB / 7.05 GB, free: 1.797 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/26.83, allocations: 7.734 kB / 7.05 GB, free: 1.793 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01849/26.85, allocations: 5.385 MB / 7.055 GB, free: 1.219 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/26.85, allocations: 53.94 kB / 7.055 GB, free: 1.219 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/26.85, allocations: 0.5289 MB / 7.055 GB, free: 1.129 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005365/26.85, allocations: 1.082 MB / 7.056 GB, free: 1.051 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008368/26.86, allocations: 8.363 MB / 7.065 GB, free: 10.16 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/26.88, allocations: 0.6978 MB / 7.065 GB, free: 10.06 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/26.88, allocations: 252.3 kB / 7.066 GB, free: 10.06 MB / 1.26 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.01181/26.89, allocations: 2.57 MB / 7.068 GB, free: 9.754 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005714/26.9, allocations: 0.9846 MB / 7.069 GB, free: 9.227 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/26.92, allocations: 5.435 MB / 7.074 GB, free: 8.781 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.541e-05/26.92, allocations: 38.62 kB / 7.074 GB, free: 8.781 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-05/26.92, allocations: 3.906 kB / 7.074 GB, free: 8.781 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01078/26.93, allocations: 3.861 MB / 7.078 GB, free: 8.504 MB / 1.26 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.05744/26.99, allocations: 12.7 MB / 7.091 GB, free: 6.605 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.567e-05/26.99, allocations: 0 / 7.091 GB, free: 6.605 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004131/26.99, allocations: 0.7111 MB / 7.091 GB, free: 6.547 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/26.99, allocations: 462.5 kB / 7.092 GB, free: 6.355 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008892/26.99, allocations: 115.7 kB / 7.092 GB, free: 6.305 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/27, allocations: 8.277 MB / 7.1 GB, free: 14.72 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/27, allocations: 0 / 7.1 GB, free: 14.72 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/27.02, allocations: 7.464 MB / 7.107 GB, free: 11.37 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/27.03, allocations: 1.738 MB / 7.109 GB, free: 10.32 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004886/27.04, allocations: 72.59 kB / 7.109 GB, free: 10.27 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01349/27.05, allocations: 0.6437 MB / 7.11 GB, free: 10.13 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/27.05, allocations: 230.2 kB / 7.11 GB, free: 10.1 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00115/27.05, allocations: 193.3 kB / 7.11 GB, free: 10.07 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02174/27.07, allocations: 6.402 MB / 7.116 GB, free: 7.781 MB / 1.276 GB Notification: Performance of sort global known variables: time 1.192e-06/27.07, allocations: 0 / 7.116 GB, free: 7.781 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.04295/27.12, allocations: 5.829 MB / 7.122 GB, free: 6.324 MB / 1.276 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.03928/27.16, allocations: 14.8 MB / 7.136 GB, free: 14.74 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.02306/27.18, allocations: 7.828 MB / 7.144 GB, free: 11.79 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/27.18, allocations: 5.531 kB / 7.144 GB, free: 11.79 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.007008/27.19, allocations: 2.361 MB / 7.146 GB, free: 9.734 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03064/27.22, allocations: 4.874 MB / 7.151 GB, free: 6.191 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.289/28.51, allocations: 76.86 MB / 7.226 GB, free: 68.76 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01536/28.52, allocations: 5.645 MB / 7.232 GB, free: 67.85 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01959/28.54, allocations: 2.594 MB / 7.234 GB, free: 67.76 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01458/28.56, allocations: 5.087 MB / 7.239 GB, free: 67.76 MB / 1.292 GB Notification: Performance of SimCode: time 2.384e-06/28.56, allocations: 0 / 7.239 GB, free: 67.76 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5659/29.12, allocations: 311.1 MB / 7.543 GB, free: 23.39 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/29.12, allocations: 286.9 kB / 7.543 GB, free: 23.03 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.92/47.05, allocations: 4 kB / 7.543 GB, free: 23.02 MB / 1.292 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)