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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.014/2.014, allocations: 289.7 MB / 302.3 MB, free: 2.121 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.001066/0.001066, allocations: 178.8 kB / 371.6 MB, free: 3.387 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.62/1.62, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009825/0.0009827, allocations: 92.23 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.627e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.308, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.153/2.461, allocations: 487.5 MB / 1.456 GB, free: 253.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/2.462, allocations: 90.19 kB / 1.456 GB, free: 253.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 25.8/28.26, allocations: 5.387 GB / 6.843 GB, free: 52.24 MB / 1.214 GB Notification: Performance of FrontEnd: time 1.332e-06/28.26, allocations: 0 / 6.843 GB, free: 52.24 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.003298/28.26, allocations: 323 kB / 6.844 GB, free: 52.18 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.04375/28.31, allocations: 10.64 MB / 6.854 GB, free: 47.23 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/28.31, allocations: 7.844 kB / 6.854 GB, free: 47.23 MB / 1.214 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005218/28.31, allocations: 0.9299 MB / 6.855 GB, free: 47.14 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/28.33, allocations: 2.479 MB / 6.857 GB, free: 46.37 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06365/28.39, allocations: 19.08 MB / 6.876 GB, free: 44.24 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009373/28.39, allocations: 0.5664 MB / 6.877 GB, free: 44.22 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003652/28.4, allocations: 0.7389 MB / 6.877 GB, free: 44.21 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/28.42, allocations: 8.293 MB / 6.885 GB, free: 42.93 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004921/28.42, allocations: 33.58 kB / 6.886 GB, free: 42.91 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002672/28.43, allocations: 299.3 kB / 6.886 GB, free: 42.91 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002516/28.43, allocations: 199 kB / 6.886 GB, free: 42.9 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/28.44, allocations: 5.924 MB / 6.892 GB, free: 42.75 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 0.07975/28.52, allocations: 46.14 MB / 6.937 GB, free: 16.41 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/28.54, allocations: 3.66 MB / 6.94 GB, free: 16.31 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004855/28.54, allocations: 2.055 MB / 6.942 GB, free: 16.27 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02857/28.57, allocations: 9.669 MB / 6.952 GB, free: 12.43 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005217/28.57, allocations: 1.994 MB / 6.954 GB, free: 12.32 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0108/28.58, allocations: 0.6299 MB / 6.954 GB, free: 12.1 MB / 1.214 GB Notification: Performance of pre-optimization done (n=339): time 2.522e-05/28.58, allocations: 0 / 6.954 GB, free: 12.1 MB / 1.214 GB Notification: Performance of matching and sorting (n=339): time 0.01684/28.6, allocations: 4.167 MB / 6.959 GB, free: 11.35 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/28.6, allocations: 87.61 kB / 6.959 GB, free: 11.29 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02708/28.63, allocations: 8.227 MB / 6.967 GB, free: 10.65 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.001539/28.63, allocations: 115.3 kB / 6.967 GB, free: 10.62 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.009243/28.64, allocations: 5.552 MB / 6.972 GB, free: 9.043 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00278/28.64, allocations: 1.182 MB / 6.973 GB, free: 8.297 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/28.64, allocations: 94.84 kB / 6.973 GB, free: 8.297 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0007155/28.64, allocations: 488.4 kB / 6.974 GB, free: 7.984 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005154/28.65, allocations: 1.503 MB / 6.975 GB, free: 7.969 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006837/28.66, allocations: 3.633 MB / 6.979 GB, free: 5.262 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006473/28.66, allocations: 2.124 MB / 6.981 GB, free: 5.035 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.465e-05/28.66, allocations: 14.56 kB / 6.981 GB, free: 5.035 MB / 1.214 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02226/28.69, allocations: 6.02 MB / 6.987 GB, free: 3.004 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.01643/28.7, allocations: 31.28 MB / 7.017 GB, free: 1.305 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002631/28.7, allocations: 55.16 kB / 7.017 GB, free: 1.305 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/28.71, allocations: 0.5337 MB / 7.018 GB, free: 1.109 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008326/28.71, allocations: 1.116 MB / 7.019 GB, free: 0.9922 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/28.72, allocations: 8.296 MB / 7.027 GB, free: 9.438 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0159/28.74, allocations: 0.7153 MB / 7.028 GB, free: 9.254 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/28.74, allocations: 268.4 kB / 7.028 GB, free: 9.211 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/28.74, allocations: 6.625 kB / 7.028 GB, free: 9.211 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0158/28.76, allocations: 5.025 MB / 7.033 GB, free: 7.191 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/28.76, allocations: 52.28 kB / 7.033 GB, free: 7.191 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/28.76, allocations: 0.5258 MB / 7.034 GB, free: 7 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00728/28.77, allocations: 1.084 MB / 7.035 GB, free: 6.887 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009951/28.78, allocations: 8.31 MB / 7.043 GB, free: 15.32 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/28.79, allocations: 0.697 MB / 7.043 GB, free: 15.14 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/28.79, allocations: 253.7 kB / 7.044 GB, free: 15.1 MB / 1.276 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.002537/28.8, allocations: 447.7 kB / 7.044 GB, free: 14.74 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0047/28.8, allocations: 0.973 MB / 7.045 GB, free: 14.22 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/28.81, allocations: 5.054 MB / 7.05 GB, free: 12.26 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/28.81, allocations: 44.08 kB / 7.05 GB, free: 12.25 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/28.81, allocations: 3.438 kB / 7.05 GB, free: 12.25 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005682/28.82, allocations: 3.484 MB / 7.053 GB, free: 10.88 MB / 1.276 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.0395/28.86, allocations: 12.32 MB / 7.065 GB, free: 5.848 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/28.86, allocations: 0 / 7.065 GB, free: 5.848 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/28.86, allocations: 0.706 MB / 7.066 GB, free: 5.789 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/28.86, allocations: 461.3 kB / 7.067 GB, free: 5.602 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004289/28.86, allocations: 109.7 kB / 7.067 GB, free: 5.551 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342/30.21, allocations: 8.207 MB / 7.075 GB, free: 112.5 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/30.21, allocations: 2.594 kB / 7.075 GB, free: 112.5 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/30.22, allocations: 6.867 MB / 7.081 GB, free: 111.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009819/30.23, allocations: 1.738 MB / 7.083 GB, free: 111.8 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00539/30.24, allocations: 71.44 kB / 7.083 GB, free: 111.8 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01269/30.25, allocations: 0.651 MB / 7.084 GB, free: 111.8 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/30.25, allocations: 225.1 kB / 7.084 GB, free: 111.8 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001364/30.25, allocations: 197.5 kB / 7.084 GB, free: 111.8 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.02084/30.28, allocations: 6.301 MB / 7.09 GB, free: 111.4 MB / 1.276 GB Notification: Performance of sort global known variables: time 4.91e-07/30.28, allocations: 0 / 7.09 GB, free: 111.4 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.0371/30.31, allocations: 5.83 MB / 7.096 GB, free: 111.1 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) * 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.03102/30.34, allocations: 14.16 MB / 7.11 GB, free: 106.8 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.01743/30.36, allocations: 7.606 MB / 7.117 GB, free: 106.2 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/30.36, allocations: 4.188 kB / 7.117 GB, free: 106.2 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/30.36, allocations: 2.156 MB / 7.119 GB, free: 106 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02927/30.39, allocations: 4.868 MB / 7.124 GB, free: 105.9 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06076/30.46, allocations: 17.31 MB / 7.141 GB, free: 102.2 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/30.47, allocations: 5.665 MB / 7.147 GB, free: 101.2 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03044/30.5, allocations: 3.842 MB / 7.15 GB, free: 101.1 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01199/30.51, allocations: 4.885 MB / 7.155 GB, free: 101.1 MB / 1.276 GB Notification: Performance of SimCode: time 2.043e-06/30.51, allocations: 0 / 7.155 GB, free: 101.1 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6023/31.11, allocations: 327.8 MB / 7.475 GB, free: 2.316 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/31.11, allocations: 246.8 kB / 7.475 GB, free: 1.98 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/53.03, allocations: 0 / 7.475 GB, free: 1.98 MB / 1.276 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_IdealSmallSystem.fmu > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Validation.IdealSmallSystem.pipe 2>&1)