Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",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.453/1.453, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 184.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008726/0.0008727, allocations: 90.47 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.399e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.684/1.904, allocations: 451.6 MB / 1.326 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004187/1.904, allocations: 101 kB / 1.326 GB, free: 251.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.31/6.214, allocations: 1.225 GB / 2.552 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.924e-06/6.215, allocations: 3.938 kB / 2.552 GB, free: 26.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000454/6.215, allocations: 83.12 kB / 2.552 GB, free: 26.79 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.008193/6.223, allocations: 2.922 MB / 2.554 GB, free: 23.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/6.223, allocations: 11.97 kB / 2.554 GB, free: 23.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002749/6.226, allocations: 0.5465 MB / 2.555 GB, free: 23.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007079/6.233, allocations: 3.363 MB / 2.558 GB, free: 19.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/6.234, allocations: 196.4 kB / 2.558 GB, free: 19.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004028/6.234, allocations: 112 kB / 2.559 GB, free: 19.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00283/6.237, allocations: 1.58 MB / 2.56 GB, free: 17.94 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/6.24, allocations: 1.774 MB / 2.562 GB, free: 16.07 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/6.24, allocations: 7.891 kB / 2.562 GB, free: 16.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/6.24, allocations: 4 kB / 2.562 GB, free: 16.06 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/6.24, allocations: 36 kB / 2.562 GB, free: 16.03 MB / 0.8855 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.01519/6.255, allocations: 10.72 MB / 2.572 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/6.257, allocations: 1.687 MB / 2.574 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/6.258, allocations: 0.649 MB / 2.575 GB, free: 2.121 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009677/6.259, allocations: 1.227 MB / 2.576 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/6.26, allocations: 0.7455 MB / 2.577 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001669/6.261, allocations: 150.9 kB / 2.577 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 3.467e-06/6.261, allocations: 0 / 2.577 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.003679/6.265, allocations: 1.486 MB / 2.578 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/6.265, allocations: 329.7 kB / 2.579 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/6.269, allocations: 1.931 MB / 2.58 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002606/6.269, allocations: 29.7 kB / 2.58 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00143/6.271, allocations: 1.186 MB / 2.582 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/6.271, allocations: 366.6 kB / 2.582 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/6.271, allocations: 4 kB / 2.582 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001821/6.271, allocations: 362 kB / 2.582 GB, free: 9.918 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/6.273, allocations: 0.6482 MB / 2.583 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/6.274, allocations: 1.055 MB / 2.584 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/6.276, allocations: 0.8595 MB / 2.585 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/6.276, allocations: 0 / 2.585 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004638/6.281, allocations: 2.033 MB / 2.587 GB, free: 5.152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/6.282, allocations: 2.492 MB / 2.589 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/6.282, allocations: 8 kB / 2.589 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/6.282, allocations: 52.84 kB / 2.589 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/6.284, allocations: 375.5 kB / 2.59 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/6.285, allocations: 0.6069 MB / 2.59 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/6.287, allocations: 223.5 kB / 2.59 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/6.288, allocations: 71.95 kB / 2.59 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/6.288, allocations: 4 kB / 2.59 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003918/6.292, allocations: 1.73 MB / 2.592 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/6.292, allocations: 8.047 kB / 2.592 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/6.292, allocations: 57.28 kB / 2.592 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/6.293, allocations: 375.4 kB / 2.593 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/6.295, allocations: 1.502 MB / 2.594 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/6.298, allocations: 199.6 kB / 2.594 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/6.298, allocations: 75.95 kB / 2.594 GB, free: 13.04 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 165 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005194/6.299, allocations: 174.3 kB / 2.594 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003599/6.302, allocations: 1.447 MB / 2.596 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/6.303, allocations: 252.7 kB / 2.596 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/6.307, allocations: 1.753 MB / 2.598 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/6.307, allocations: 12 kB / 2.598 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/6.307, allocations: 7.953 kB / 2.598 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002735/6.31, allocations: 1.474 MB / 2.599 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/6.32, allocations: 4.423 MB / 2.604 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/6.321, allocations: 0 / 2.604 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/6.322, allocations: 247.9 kB / 2.604 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/6.322, allocations: 36.84 kB / 2.604 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/6.322, allocations: 27.97 kB / 2.604 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000492/6.322, allocations: 0.5641 MB / 2.604 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/6.322, allocations: 4 kB / 2.604 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6898/7.012, allocations: 2.808 MB / 2.607 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/7.015, allocations: 0.5813 MB / 2.608 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/7.015, allocations: 15.3 kB / 2.608 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/7.017, allocations: 169.1 kB / 2.608 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/7.017, allocations: 87.56 kB / 2.608 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/7.017, allocations: 56.17 kB / 2.608 GB, free: 108.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003052/7.02, allocations: 1.454 MB / 2.61 GB, free: 108 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.8e-07/7.02, allocations: 0 / 2.61 GB, free: 108 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.006033/7.026, allocations: 1.307 MB / 2.611 GB, free: 108 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008269/7.035, allocations: 5.186 MB / 2.616 GB, free: 106.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005191/7.04, allocations: 2.827 MB / 2.619 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/7.04, allocations: 4.781 kB / 2.619 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/7.041, allocations: 0.743 MB / 2.619 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/7.048, allocations: 1.116 MB / 2.62 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/7.06, allocations: 4.398 MB / 2.625 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/7.062, allocations: 1.845 MB / 2.627 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004938/7.067, allocations: 0.8702 MB / 2.627 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/7.069, allocations: 1.059 MB / 2.628 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.002e-06/7.069, allocations: 1.594 kB / 2.628 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/7.217, allocations: 74.72 MB / 2.701 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/7.218, allocations: 223.1 kB / 2.702 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.267/12.48, allocations: 0 / 2.702 GB, free: 100.1 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)