Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.331/2.331, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001449/0.001449, allocations: 183.6 kB / 320.4 MB, free: 15.32 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.288/2.288, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001097/0.001096, allocations: 107.8 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.729e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8664/1.058, allocations: 131.1 MB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.058, allocations: 70.83 kB / 1.019 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002364/1.06, allocations: 0.6396 MB / 1.019 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.06, allocations: 0 / 1.019 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.06, allocations: 0 / 1.019 GB, free: 3.137 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004601/1.061, allocations: 345.6 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.061, allocations: 8.031 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.37e-05/1.061, allocations: 34.56 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/1.061, allocations: 0 / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.061, allocations: 167 kB / 1.02 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.061, allocations: 3.938 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/1.061, allocations: 3.938 kB / 1.02 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/1.061, allocations: 44.31 kB / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/1.061, allocations: 0 / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.061, allocations: 0 / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/1.061, allocations: 0 / 1.02 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/1.061, allocations: 11.88 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/1.062, allocations: 259.9 kB / 1.02 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/1.062, allocations: 26.39 kB / 1.02 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/1.062, allocations: 8.922 kB / 1.02 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/1.062, allocations: 0 / 1.02 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.062, allocations: 33.19 kB / 1.02 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.062, allocations: 8 kB / 1.02 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/1.062, allocations: 44.42 kB / 1.02 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/1.062, allocations: 59.34 kB / 1.02 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.297e-05/1.062, allocations: 89 kB / 1.021 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.062, allocations: 25.7 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/1.063, allocations: 87.77 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/1.063, allocations: 7.906 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/1.063, allocations: 0 / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.063, allocations: 314.9 kB / 1.021 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/1.063, allocations: 7 kB / 1.021 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/1.063, allocations: 4 kB / 1.021 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/1.063, allocations: 7.422 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.063, allocations: 0 / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/1.063, allocations: 40.89 kB / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.063, allocations: 5.875 kB / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.063, allocations: 0 / 1.021 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/1.063, allocations: 4 kB / 1.021 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/1.063, allocations: 16.08 kB / 1.021 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.063, allocations: 0 / 1.021 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/1.063, allocations: 11.94 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/1.063, allocations: 4.188 kB / 1.021 GB, free: 1.328 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 (2): * Single equations (assignments): 2 * 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 0.000104/1.064, allocations: 107.9 kB / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/1.064, allocations: 0 / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/1.064, allocations: 19 kB / 1.021 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.064, allocations: 4 kB / 1.021 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.064, allocations: 0 / 1.021 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.064, allocations: 0 / 1.021 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/1.064, allocations: 166.9 kB / 1.021 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.064, allocations: 0 / 1.021 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.064, allocations: 8 kB / 1.021 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.064, allocations: 3.938 kB / 1.021 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/1.064, allocations: 0 / 1.021 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/1.064, allocations: 3.984 kB / 1.021 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.064, allocations: 8 kB / 1.021 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/1.064, allocations: 140 kB / 1.021 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/1.064, allocations: 81.11 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/1.064, allocations: 7.359 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/1.065, allocations: 4 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/1.065, allocations: 7.938 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.065, allocations: 8.016 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.482e-05/1.065, allocations: 81.84 kB / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.6e-07/1.065, allocations: 0 / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002696/1.065, allocations: 4 kB / 1.022 GB, free: 0.6172 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0005417/1.065, allocations: 0.672 MB / 1.022 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001131/1.066, allocations: 19.75 kB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.066, allocations: 0 / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/1.066, allocations: 7.25 kB / 1.022 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/1.066, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/1.066, allocations: 89.22 kB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.067, allocations: 0.6848 MB / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.263e-05/1.067, allocations: 4.125 kB / 1.023 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/1.067, allocations: 11.42 kB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.067, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/1.09, allocations: 1.012 MB / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003603/1.091, allocations: 160.6 kB / 1.024 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/3.389, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.6511 GB