Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001239/0.001239, allocations: 186.7 kB / 326.5 MB, free: 2.25 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.06/2.06, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0008795/0.0008795, allocations: 91.98 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003942, allocations: 9 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2599, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.447, allocations: 442.9 MB / 1.333 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/1.447, allocations: 97.5 kB / 1.333 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.715/5.162, allocations: 0.9609 GB / 2.294 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/5.162, allocations: 0 / 2.294 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002273/5.162, allocations: 56.7 kB / 2.294 GB, free: 117.8 MB / 0.8855 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.007441/5.17, allocations: 2.648 MB / 2.296 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/5.17, allocations: 10.09 kB / 2.296 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004454/5.17, allocations: 171.9 kB / 2.296 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00401/5.174, allocations: 0.7404 MB / 2.297 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/5.194, allocations: 8.842 MB / 2.306 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/5.194, allocations: 101 kB / 2.306 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/5.195, allocations: 130.9 kB / 2.306 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/5.198, allocations: 1.533 MB / 2.308 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/5.198, allocations: 7.062 kB / 2.308 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/5.199, allocations: 51.53 kB / 2.308 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/5.199, allocations: 34.38 kB / 2.308 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/5.202, allocations: 1.224 MB / 2.309 GB, free: 108.1 MB / 0.8855 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.01089/5.213, allocations: 8.37 MB / 2.317 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/5.216, allocations: 1.162 MB / 2.318 GB, free: 99.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005043/5.222, allocations: 2.935 MB / 2.321 GB, free: 97.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/5.223, allocations: 0.5278 MB / 2.321 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001007/5.224, allocations: 195.5 kB / 2.322 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 3.166e-06/5.224, allocations: 1.438 kB / 2.322 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.003265/5.227, allocations: 1.308 MB / 2.323 GB, free: 95.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/5.227, allocations: 111.4 kB / 2.323 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/5.229, allocations: 1.358 MB / 2.324 GB, free: 93.55 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.031e-05/5.229, allocations: 41.7 kB / 2.324 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006908/5.23, allocations: 0.9002 MB / 2.325 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/5.23, allocations: 240.6 kB / 2.326 GB, free: 92.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/5.23, allocations: 21.31 kB / 2.326 GB, free: 92.33 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/5.23, allocations: 345.9 kB / 2.326 GB, free: 91.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009946/5.231, allocations: 433.9 kB / 2.326 GB, free: 91.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/5.232, allocations: 0.893 MB / 2.327 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/5.233, allocations: 0.5402 MB / 2.328 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/5.233, allocations: 4 kB / 2.328 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002993/5.236, allocations: 1.45 MB / 2.329 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009569/5.237, allocations: 5.111 MB / 2.334 GB, free: 82.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/5.237, allocations: 12 kB / 2.334 GB, free: 82.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/5.237, allocations: 22.44 kB / 2.334 GB, free: 82.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/5.239, allocations: 291.5 kB / 2.334 GB, free: 82.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/5.239, allocations: 27.86 kB / 2.334 GB, free: 82.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/5.241, allocations: 155.7 kB / 2.335 GB, free: 82.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/5.241, allocations: 67.92 kB / 2.335 GB, free: 82.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/5.241, allocations: 4 kB / 2.335 GB, free: 82.38 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/5.243, allocations: 1.267 MB / 2.336 GB, free: 81.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/5.243, allocations: 15.94 kB / 2.336 GB, free: 81.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/5.243, allocations: 20 kB / 2.336 GB, free: 81.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/5.244, allocations: 287.6 kB / 2.336 GB, free: 80.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/5.244, allocations: 31.86 kB / 2.336 GB, free: 80.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/5.246, allocations: 155.7 kB / 2.336 GB, free: 80.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/5.246, allocations: 59.98 kB / 2.336 GB, free: 80.55 MB / 0.8855 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 () * Number of clocked 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.001152/5.248, allocations: 497.7 kB / 2.337 GB, free: 80.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/5.248, allocations: 181.8 kB / 2.337 GB, free: 79.87 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/5.251, allocations: 1.275 MB / 2.338 GB, free: 78.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/5.251, allocations: 8 kB / 2.338 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/5.251, allocations: 0 / 2.338 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/5.253, allocations: 1.16 MB / 2.339 GB, free: 77.36 MB / 0.8855 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.005654/5.259, allocations: 2.675 MB / 2.342 GB, free: 74.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/5.259, allocations: 0 / 2.342 GB, free: 74.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000902/5.259, allocations: 179.8 kB / 2.342 GB, free: 74.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/5.259, allocations: 7.984 kB / 2.342 GB, free: 74.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/5.26, allocations: 19.98 kB / 2.342 GB, free: 74.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/5.26, allocations: 4 kB / 2.342 GB, free: 74.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.26, allocations: 0 / 2.342 GB, free: 74.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/5.263, allocations: 1.824 MB / 2.344 GB, free: 72.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/5.264, allocations: 338.7 kB / 2.344 GB, free: 72.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/5.264, allocations: 23.94 kB / 2.344 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/5.265, allocations: 135.8 kB / 2.345 GB, free: 72.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/5.266, allocations: 52.58 kB / 2.345 GB, free: 71.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/5.266, allocations: 35.97 kB / 2.345 GB, free: 71.94 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001513/5.267, allocations: 1.039 MB / 2.346 GB, free: 70.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.182e-06/5.267, allocations: 0 / 2.346 GB, free: 70.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004333/5.272, allocations: 1.064 MB / 2.347 GB, free: 69.81 MB / 0.8855 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) * Number of clocked states: 0 () * 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.00608/5.278, allocations: 3.608 MB / 2.35 GB, free: 66.24 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004561/5.282, allocations: 1.899 MB / 2.352 GB, free: 64.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/5.282, allocations: 0 / 2.352 GB, free: 64.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/5.283, allocations: 0.508 MB / 2.353 GB, free: 63.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/5.287, allocations: 0.7807 MB / 2.353 GB, free: 63.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/5.299, allocations: 13.59 MB / 2.367 GB, free: 49.19 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/5.3, allocations: 1.412 MB / 2.368 GB, free: 47.74 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002425/5.302, allocations: 471.9 kB / 2.368 GB, free: 47.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/5.303, allocations: 0.7531 MB / 2.369 GB, free: 46.58 MB / 0.8855 GB Notification: Performance of SimCode: time 1.232e-06/5.303, allocations: 0 / 2.369 GB, free: 46.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09169/5.395, allocations: 56.51 MB / 2.424 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/5.395, allocations: 268 kB / 2.425 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/9.822, allocations: 0 / 2.425 GB, free: 6.828 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1)