Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.795/2.795, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.002269/0.002269, allocations: 176.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001104/0.001103, allocations: 93.73 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.261e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8429, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/2.19, allocations: 449.6 MB / 1.402 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/2.19, allocations: 86.95 kB / 1.403 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.399/7.59, allocations: 0.9811 GB / 2.384 GB, free: 136 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.064e-06/7.59, allocations: 0 / 2.384 GB, free: 136 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004229/7.59, allocations: 60.17 kB / 2.384 GB, free: 136 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00833/7.598, allocations: 2.137 MB / 2.386 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/7.598, allocations: 12.36 kB / 2.386 GB, free: 135.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007365/7.606, allocations: 0.7372 MB / 2.387 GB, free: 135 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03318/7.639, allocations: 8.927 MB / 2.395 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/7.639, allocations: 38.22 kB / 2.395 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005549/7.64, allocations: 82.62 kB / 2.395 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003481/7.643, allocations: 0.9314 MB / 2.396 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/7.647, allocations: 1.232 MB / 2.397 GB, free: 134 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/7.647, allocations: 8.031 kB / 2.397 GB, free: 134 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/7.647, allocations: 4.031 kB / 2.397 GB, free: 134 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.134e-05/7.647, allocations: 30.22 kB / 2.398 GB, free: 134 MB / 0.9323 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.01762/7.665, allocations: 8.164 MB / 2.405 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/7.67, allocations: 0.9419 MB / 2.406 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/7.671, allocations: 362.7 kB / 2.407 GB, free: 129 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008212/7.679, allocations: 2.914 MB / 2.41 GB, free: 127.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009067/7.68, allocations: 412.4 kB / 2.41 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001553/7.682, allocations: 170.5 kB / 2.41 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=66): time 6.873e-06/7.682, allocations: 0 / 2.41 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=66): time 0.003695/7.686, allocations: 0.8293 MB / 2.411 GB, free: 127.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/7.686, allocations: 110.5 kB / 2.411 GB, free: 127 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/7.689, allocations: 1.178 MB / 2.412 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003062/7.689, allocations: 31.48 kB / 2.412 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/7.69, allocations: 0.9066 MB / 2.413 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/7.69, allocations: 230.1 kB / 2.413 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/7.691, allocations: 0 / 2.413 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001059/7.691, allocations: 346.9 kB / 2.414 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/7.691, allocations: 318.5 kB / 2.414 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/7.693, allocations: 0.7726 MB / 2.415 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/7.695, allocations: 0.4916 MB / 2.415 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/7.695, allocations: 5.812 kB / 2.415 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004526/7.699, allocations: 1.214 MB / 2.416 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/7.701, allocations: 5.095 MB / 2.421 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-05/7.701, allocations: 12.03 kB / 2.421 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.346e-05/7.701, allocations: 21 kB / 2.421 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/7.703, allocations: 291.4 kB / 2.422 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/7.704, allocations: 25.52 kB / 2.422 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003123/7.707, allocations: 136.4 kB / 2.422 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/7.707, allocations: 65.03 kB / 2.422 GB, free: 120 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/7.707, allocations: 3.844 kB / 2.422 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003724/7.711, allocations: 0.9963 MB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/7.711, allocations: 10.97 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/7.711, allocations: 21.22 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/7.713, allocations: 290.2 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.573e-05/7.713, allocations: 24.64 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/7.716, allocations: 129.1 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/7.716, allocations: 63.03 kB / 2.423 GB, free: 120 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004157/7.717, allocations: 148.5 kB / 2.424 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003096/7.72, allocations: 0.7932 MB / 2.424 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005298/7.721, allocations: 166.6 kB / 2.424 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/7.725, allocations: 1.055 MB / 2.426 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/7.726, allocations: 14.8 kB / 2.426 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/7.726, allocations: 7.453 kB / 2.426 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/7.728, allocations: 0.9491 MB / 2.426 GB, free: 119.2 MB / 0.9323 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.00824/7.736, allocations: 2.345 MB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/7.736, allocations: 2.906 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/7.738, allocations: 175.2 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/7.738, allocations: 7.969 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/7.738, allocations: 19.25 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/7.738, allocations: 3.344 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/7.738, allocations: 1.812 kB / 2.429 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/7.742, allocations: 1.492 MB / 2.43 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/7.744, allocations: 340 kB / 2.431 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/7.744, allocations: 5.781 kB / 2.431 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/7.746, allocations: 122.8 kB / 2.431 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/7.746, allocations: 51.08 kB / 2.431 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/7.746, allocations: 36.16 kB / 2.431 GB, free: 118.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001781/7.748, allocations: 0.882 MB / 2.432 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.32e-07/7.748, allocations: 1.969 kB / 2.432 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006101/7.754, allocations: 1.037 MB / 2.433 GB, free: 118 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006785/7.761, allocations: 3.233 MB / 2.436 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00358/7.765, allocations: 1.573 MB / 2.437 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/7.765, allocations: 0 / 2.437 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/7.766, allocations: 402.4 kB / 2.438 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005957/7.772, allocations: 0.7129 MB / 2.439 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/7.784, allocations: 3.098 MB / 2.442 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/7.785, allocations: 1.41 MB / 2.443 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00467/7.79, allocations: 0.5871 MB / 2.444 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001557/7.791, allocations: 0.721 MB / 2.444 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/7.791, allocations: 2.812 kB / 2.444 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/7.937, allocations: 51.83 MB / 2.495 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/7.938, allocations: 208.4 kB / 2.495 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.08/13.02, allocations: 2.531 kB / 2.495 GB, free: 112.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)