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.122/2.122, allocations: 251 MB / 265.9 MB, free: 11.69 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.001507/0.001508, allocations: 183.6 kB / 325.5 MB, free: 2.902 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.27/2.27, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.001148/0.001147, allocations: 99.97 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004694, allocations: 11.19 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2048, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.494, allocations: 451.2 MB / 1.339 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004095/1.494, allocations: 116.1 kB / 1.34 GB, free: 468 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.071/8.565, allocations: 1.235 GB / 2.574 GB, free: 89.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.886e-06/8.565, allocations: 0 / 2.574 GB, free: 89.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006888/8.566, allocations: 84.28 kB / 2.574 GB, free: 89.57 MB / 0.9011 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.0137/8.58, allocations: 3.506 MB / 2.578 GB, free: 87.96 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/8.58, allocations: 17.38 kB / 2.578 GB, free: 87.96 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/8.581, allocations: 228.3 kB / 2.578 GB, free: 87.91 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004074/8.585, allocations: 0.544 MB / 2.579 GB, free: 87.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/8.597, allocations: 3.382 MB / 2.582 GB, free: 87.17 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001319/8.598, allocations: 274.1 kB / 2.582 GB, free: 87.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008275/8.599, allocations: 181.2 kB / 2.582 GB, free: 87.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007101/8.606, allocations: 2.148 MB / 2.584 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.876e-05/8.606, allocations: 1.312 kB / 2.584 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003126/8.607, allocations: 65.22 kB / 2.584 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/8.607, allocations: 44.81 kB / 2.584 GB, free: 86.88 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007361/8.614, allocations: 1.901 MB / 2.586 GB, free: 86.86 MB / 0.9011 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.02516/8.639, allocations: 11.06 MB / 2.597 GB, free: 82.03 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/8.644, allocations: 1.908 MB / 2.599 GB, free: 81.33 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/8.646, allocations: 1.234 MB / 2.6 GB, free: 80.02 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002678/8.648, allocations: 0.816 MB / 2.601 GB, free: 79.93 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002034/8.65, allocations: 179.5 kB / 2.601 GB, free: 79.87 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 8.246e-06/8.65, allocations: 0 / 2.601 GB, free: 79.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.008832/8.659, allocations: 2.413 MB / 2.604 GB, free: 79.43 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/8.659, allocations: 301 kB / 2.604 GB, free: 79.09 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/8.665, allocations: 2.28 MB / 2.606 GB, free: 78.86 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005479/8.666, allocations: 58.23 kB / 2.606 GB, free: 78.83 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001694/8.668, allocations: 1.194 MB / 2.607 GB, free: 78.51 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/8.668, allocations: 384.7 kB / 2.608 GB, free: 78.27 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/8.669, allocations: 21.94 kB / 2.608 GB, free: 78.27 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001409/8.669, allocations: 364.8 kB / 2.608 GB, free: 77.97 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/8.672, allocations: 0.7799 MB / 2.609 GB, free: 77.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003568/8.675, allocations: 1.212 MB / 2.61 GB, free: 77.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/8.679, allocations: 0.9297 MB / 2.611 GB, free: 77.49 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/8.679, allocations: 2.281 kB / 2.611 GB, free: 77.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.008524/8.687, allocations: 2.321 MB / 2.613 GB, free: 77.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00061/8.688, allocations: 2.511 MB / 2.616 GB, free: 74.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.672e-05/8.688, allocations: 13.06 kB / 2.616 GB, free: 74.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/8.689, allocations: 53.41 kB / 2.616 GB, free: 74.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/8.692, allocations: 372.9 kB / 2.616 GB, free: 74.63 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005007/8.692, allocations: 0.594 MB / 2.617 GB, free: 74.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/8.697, allocations: 260.7 kB / 2.617 GB, free: 74.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/8.697, allocations: 69.59 kB / 2.617 GB, free: 74.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/8.697, allocations: 6.156 kB / 2.617 GB, free: 74.09 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007339/8.704, allocations: 2.074 MB / 2.619 GB, free: 74.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.228e-05/8.705, allocations: 16.31 kB / 2.619 GB, free: 74.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/8.705, allocations: 52.17 kB / 2.619 GB, free: 74.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/8.708, allocations: 378.8 kB / 2.619 GB, free: 74.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/8.71, allocations: 1.573 MB / 2.621 GB, free: 72.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/8.714, allocations: 239.1 kB / 2.621 GB, free: 72.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/8.715, allocations: 74.83 kB / 2.621 GB, free: 72.66 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 () * Number of clocked 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.002504/8.717, allocations: 0.7842 MB / 2.622 GB, free: 72.44 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008951/8.718, allocations: 264 kB / 2.622 GB, free: 72.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006847/8.725, allocations: 2.034 MB / 2.624 GB, free: 72.14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/8.725, allocations: 12.06 kB / 2.624 GB, free: 72.14 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/8.725, allocations: 3.062 kB / 2.624 GB, free: 72.14 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004978/8.73, allocations: 1.726 MB / 2.626 GB, free: 71.81 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/8.743, allocations: 4.659 MB / 2.63 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/8.743, allocations: 0 / 2.63 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/8.745, allocations: 252.7 kB / 2.631 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/8.745, allocations: 42.91 kB / 2.631 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/8.745, allocations: 41.19 kB / 2.631 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003674/8.746, allocations: 0.5648 MB / 2.631 GB, free: 70.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/8.746, allocations: 6.469 kB / 2.631 GB, free: 70.65 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009078/8.755, allocations: 3.047 MB / 2.634 GB, free: 70.05 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/8.757, allocations: 0.6017 MB / 2.635 GB, free: 69.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006961/8.758, allocations: 37.48 kB / 2.635 GB, free: 69.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/8.761, allocations: 194.5 kB / 2.635 GB, free: 69.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/8.761, allocations: 81.31 kB / 2.635 GB, free: 69.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/8.761, allocations: 61.16 kB / 2.635 GB, free: 69.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004667/8.766, allocations: 1.768 MB / 2.637 GB, free: 69.65 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.82e-07/8.766, allocations: 0 / 2.637 GB, free: 69.65 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00691/8.773, allocations: 1.357 MB / 2.638 GB, free: 69.46 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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) * Number of clocked states: 0 () * 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.01146/8.785, allocations: 5.052 MB / 2.643 GB, free: 67.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009622/8.794, allocations: 3.192 MB / 2.646 GB, free: 67.19 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/8.794, allocations: 0.5 kB / 2.646 GB, free: 67.19 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002517/8.797, allocations: 0.881 MB / 2.647 GB, free: 67.09 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01036/8.807, allocations: 1.271 MB / 2.648 GB, free: 67.01 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02137/8.829, allocations: 10.98 MB / 2.659 GB, free: 59.76 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/8.831, allocations: 1.841 MB / 2.661 GB, free: 58.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005028/8.836, allocations: 0.6691 MB / 2.662 GB, free: 58.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/8.839, allocations: 1.107 MB / 2.663 GB, free: 58.87 MB / 0.9011 GB Notification: Performance of SimCode: time 1.363e-06/8.839, allocations: 0 / 2.663 GB, free: 58.87 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/9.037, allocations: 82.56 MB / 2.743 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/9.037, allocations: 302.2 kB / 2.744 GB, free: 4.688 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.284/15.32, allocations: 0 / 2.744 GB, free: 4.688 MB / 0.9011 GB