Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.207/2.207, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.001585/0.001585, allocations: 175.5 kB / 315.4 MB, free: 4 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.028/2.028, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 94.3 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.944e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2263, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.004/2.23, allocations: 451.3 MB / 1.325 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/2.23, allocations: 104.8 kB / 1.325 GB, free: 253.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.477/8.707, allocations: 1.225 GB / 2.55 GB, free: 30.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/8.707, allocations: 0 / 2.55 GB, free: 30.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006787/8.708, allocations: 86.36 kB / 2.55 GB, free: 30.17 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.01038/8.718, allocations: 2.918 MB / 2.553 GB, free: 27.21 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/8.718, allocations: 8.031 kB / 2.553 GB, free: 27.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/8.722, allocations: 0.5465 MB / 2.554 GB, free: 26.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/8.734, allocations: 3.36 MB / 2.557 GB, free: 23.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/8.735, allocations: 203 kB / 2.557 GB, free: 23.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007779/8.736, allocations: 108 kB / 2.557 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004899/8.741, allocations: 1.58 MB / 2.559 GB, free: 21.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/8.746, allocations: 1.781 MB / 2.56 GB, free: 19.54 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/8.746, allocations: 3.938 kB / 2.56 GB, free: 19.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/8.746, allocations: 4 kB / 2.56 GB, free: 19.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/8.746, allocations: 40 kB / 2.561 GB, free: 19.49 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.0243/8.771, allocations: 10.72 MB / 2.571 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/8.774, allocations: 1.676 MB / 2.573 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/8.775, allocations: 0.6451 MB / 2.573 GB, free: 5.605 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/8.777, allocations: 1.231 MB / 2.574 GB, free: 4.113 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/8.779, allocations: 0.7455 MB / 2.575 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00207/8.781, allocations: 143 kB / 2.575 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 1.091e-05/8.781, allocations: 0 / 2.575 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110): time 0.00587/8.787, allocations: 1.49 MB / 2.577 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/8.787, allocations: 329.7 kB / 2.577 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/8.792, allocations: 1.942 MB / 2.579 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005436/8.793, allocations: 25.7 kB / 2.579 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002345/8.795, allocations: 1.196 MB / 2.58 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007953/8.796, allocations: 362.6 kB / 2.581 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/8.796, allocations: 0 / 2.581 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002395/8.797, allocations: 361.9 kB / 2.581 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/8.799, allocations: 0.6443 MB / 2.581 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002724/8.801, allocations: 1.051 MB / 2.583 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/8.805, allocations: 0.8556 MB / 2.583 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/8.805, allocations: 4 kB / 2.583 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00835/8.814, allocations: 2.033 MB / 2.585 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001246/8.815, allocations: 2.491 MB / 2.588 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/8.815, allocations: 11.94 kB / 2.588 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/8.815, allocations: 52.84 kB / 2.588 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/8.819, allocations: 379.5 kB / 2.588 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007609/8.82, allocations: 0.603 MB / 2.589 GB, free: 4.871 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/8.824, allocations: 215.7 kB / 2.589 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006976/8.825, allocations: 75.95 kB / 2.589 GB, free: 4.586 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/8.825, allocations: 4 kB / 2.589 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006845/8.832, allocations: 1.726 MB / 2.591 GB, free: 2.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/8.832, allocations: 8 kB / 2.591 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/8.832, allocations: 52.83 kB / 2.591 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003423/8.836, allocations: 375.8 kB / 2.591 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/8.838, allocations: 1.509 MB / 2.593 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00418/8.842, allocations: 195.7 kB / 2.593 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006196/8.843, allocations: 75.95 kB / 2.593 GB, free: 0.5312 MB / 0.9011 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.0006722/8.844, allocations: 174.3 kB / 2.593 GB, free: 356 kB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005708/8.849, allocations: 1.456 MB / 2.594 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/8.85, allocations: 244.9 kB / 2.595 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/8.858, allocations: 1.757 MB / 2.596 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.863e-05/8.858, allocations: 15.95 kB / 2.596 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/8.858, allocations: 0 / 2.596 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004975/8.863, allocations: 1.478 MB / 2.598 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/8.878, allocations: 4.422 MB / 2.602 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/8.878, allocations: 8.094 kB / 2.602 GB, free: 6.762 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/8.881, allocations: 243.7 kB / 2.602 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/8.881, allocations: 36.84 kB / 2.602 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/8.881, allocations: 23.98 kB / 2.603 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005437/8.882, allocations: 0.5719 MB / 2.603 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/8.882, allocations: 0 / 2.603 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008458/8.89, allocations: 2.81 MB / 2.606 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/8.893, allocations: 0.5796 MB / 2.606 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000964/8.894, allocations: 16.77 kB / 2.606 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/8.897, allocations: 175.7 kB / 2.607 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004703/8.898, allocations: 85.14 kB / 2.607 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/8.898, allocations: 55.95 kB / 2.607 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004691/8.903, allocations: 1.46 MB / 2.608 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.92e-07/8.903, allocations: 0 / 2.608 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.7601/9.663, allocations: 1.3 MB / 2.609 GB, free: 109.3 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.01173/9.675, allocations: 5.179 MB / 2.614 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007637/9.683, allocations: 2.821 MB / 2.617 GB, free: 107 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/9.683, allocations: 1.125 kB / 2.617 GB, free: 107 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/9.685, allocations: 0.754 MB / 2.618 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01/9.695, allocations: 1.12 MB / 2.619 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/9.712, allocations: 4.398 MB / 2.623 GB, free: 105.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/9.714, allocations: 1.846 MB / 2.625 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.006968/9.721, allocations: 0.8659 MB / 2.626 GB, free: 105 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002743/9.724, allocations: 1.057 MB / 2.627 GB, free: 105 MB / 0.9167 GB Notification: Performance of SimCode: time 1.723e-06/9.724, allocations: 0 / 2.627 GB, free: 105 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2097/9.934, allocations: 74.7 MB / 2.7 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/9.934, allocations: 227.5 kB / 2.7 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.071/16.01, allocations: 0 / 2.7 GB, free: 101.5 MB / 0.9167 GB