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.219/2.219, allocations: 251 MB / 265.9 MB, free: 11.68 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.002229/0.002229, allocations: 175.6 kB / 325.5 MB, free: 2.887 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.67/2.67, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001157/0.001157, allocations: 93.7 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004979/0.0004979, allocations: 15.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.5017, allocations: 131.2 MB / 1.027 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.5021, allocations: 71.95 kB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002866/0.505, allocations: 0.6411 MB / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.505, allocations: 0 / 1.028 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5051, allocations: 0 / 1.028 GB, free: 13.86 MB / 0.6823 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.0005636/0.5056, allocations: 347.3 kB / 1.028 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.5057, allocations: 8.031 kB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.5058, allocations: 34.55 kB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.5058, allocations: 4 kB / 1.028 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.506, allocations: 174.8 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.506, allocations: 0 / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.5061, allocations: 4 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.5064, allocations: 61.61 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5064, allocations: 0 / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5065, allocations: 0 / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5065, allocations: 0 / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.5069, allocations: 47.95 kB / 1.028 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.5073, allocations: 248.8 kB / 1.029 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.5076, allocations: 42.5 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5077, allocations: 4 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.5077, allocations: 38.61 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.5077, allocations: 0 / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0007177/0.5085, allocations: 93.75 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5085, allocations: 51.41 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.5086, allocations: 104.9 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.5087, allocations: 25.7 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.5088, allocations: 84.14 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5088, allocations: 3.906 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.5088, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.509, allocations: 322.9 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.5092, allocations: 19.98 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.5094, allocations: 19.98 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.5096, allocations: 24.05 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5096, allocations: 0 / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004644/0.5101, allocations: 73.66 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.5102, allocations: 4 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5102, allocations: 4.031 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.5102, allocations: 192 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5104, allocations: 15.98 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.5105, allocations: 3.938 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.5106, allocations: 8 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5106, allocations: 11.92 kB / 1.029 GB, free: 11.8 MB / 0.6823 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 () * Number of clocked 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.0001205/0.5108, allocations: 113.8 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.5108, allocations: 3.984 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.5109, allocations: 3.125 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5109, allocations: 7.938 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5109, allocations: 0 / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5109, allocations: 0 / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.5112, allocations: 161.6 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5113, allocations: 0 / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5114, allocations: 12 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5114, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5115, allocations: 8 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5115, allocations: 0 / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5115, allocations: 7.938 kB / 1.03 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.512, allocations: 175.4 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.5121, allocations: 85.03 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.5121, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.5123, allocations: 12 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.5124, allocations: 3.984 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.5124, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.5125, allocations: 79.28 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5125, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004932/0.513, allocations: 8.031 kB / 1.03 GB, free: 11.04 MB / 0.6823 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 () * Number of clocked 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.0009553/0.514, allocations: 0.7083 MB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.5144, allocations: 51.89 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5145, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.5147, allocations: 28.05 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.5151, allocations: 4 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.5159, allocations: 142.2 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5163, allocations: 0.677 MB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.5164, allocations: 8.047 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.5164, allocations: 15.44 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of SimCode: time 1.562e-06/0.5164, allocations: 0 / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.5389, allocations: 0.9997 MB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003092/0.5393, allocations: 176.8 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.829, allocations: 3.938 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB