Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.668/1.668, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001189/0.001189, allocations: 182 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.000981/0.000981, allocations: 86.53 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.766e-05/4.786e-05, allocations: 4 kB / 0.788 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7419/0.957, allocations: 131.3 MB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.9573, allocations: 70.2 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002331/0.9597, allocations: 0.8401 MB / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9597, allocations: 0 / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.9597, allocations: 0 / 1.021 GB, free: 2.527 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004433/0.9602, allocations: 363.5 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9602, allocations: 8.031 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.9602, allocations: 38.38 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.9603, allocations: 7.891 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.9604, allocations: 171 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.9604, allocations: 0 / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.9604, allocations: 4 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.9606, allocations: 48.31 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.9606, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.9606, allocations: 0 / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.9606, allocations: 4 kB / 1.022 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.9606, allocations: 18.94 kB / 1.022 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.9612, allocations: 302.5 kB / 1.022 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.504e-05/0.9612, allocations: 41.14 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.9613, allocations: 16.67 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.9613, allocations: 3.984 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.9614, allocations: 34.64 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.9614, allocations: 2.734 kB / 1.022 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001609/0.9615, allocations: 52.73 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.9616, allocations: 55.41 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.9617, allocations: 105.3 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.9617, allocations: 25.7 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.9617, allocations: 87.52 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.9617, allocations: 7.594 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.9618, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.9618, allocations: 314.8 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.9619, allocations: 15 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.9619, allocations: 10.47 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.9619, allocations: 11.31 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9619, allocations: 0 / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.425e-05/0.962, allocations: 56.97 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9621, allocations: 5.25 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9621, allocations: 0.875 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.9621, allocations: 0 / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.9622, allocations: 19.98 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.9622, allocations: 0 / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.9623, allocations: 23.97 kB / 1.023 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.9624, allocations: 7.953 kB / 1.023 GB, free: 0.5742 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.749e-05/0.9624, allocations: 108.4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.9624, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.9626, allocations: 56.66 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9626, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9626, allocations: 15.67 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.9626, allocations: 0 / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.9628, allocations: 180.4 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.9628, allocations: 0 / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.9629, allocations: 23.92 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.9629, allocations: 0 / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.9629, allocations: 0 / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.9629, allocations: 4 kB / 1.023 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9629, allocations: 3.984 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.9631, allocations: 150.8 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.9631, allocations: 81.05 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.9632, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.9633, allocations: 19.36 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.9633, allocations: 7.984 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.9633, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.9634, allocations: 91.08 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9634, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001975/0.9636, allocations: 11.84 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000398/0.964, allocations: 0.6875 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.9641, allocations: 31.05 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9641, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/0.9642, allocations: 14.75 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.9644, allocations: 4 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.9647, allocations: 106.1 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.965, allocations: 0.6848 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3e-05/0.965, allocations: 7.938 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.9651, allocations: 18.98 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.9651, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.9779, allocations: 1.284 MB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.9782, allocations: 168.4 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.479, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)