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.Sqrt.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.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 249.5 MB / 257 MB, free: 7.062 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.0009448/0.0009447, allocations: 180.8 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.3 MB / 0.5671 GB, free: 15.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.0007559/0.000756, allocations: 82.55 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.399e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1789, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7444/0.9234, allocations: 131.6 MB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.9237, allocations: 70.64 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00168/0.9254, allocations: 0.6346 MB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9254, allocations: 0 / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.9254, allocations: 0.75 kB / 1.015 GB, free: 5.203 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.0003444/0.9258, allocations: 342.9 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.9258, allocations: 8.031 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.9259, allocations: 0 / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.926, allocations: 171 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.926, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.926, allocations: 0 / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.281e-05/0.9261, allocations: 15.73 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.33e-05/0.9262, allocations: 37.64 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9262, allocations: 0 / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.9262, allocations: 2.188 kB / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9262, allocations: 0 / 1.015 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.9265, allocations: 229.2 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.9266, allocations: 29.42 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.9266, allocations: 16.17 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.9267, allocations: 0 / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.9267, allocations: 34.56 kB / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9267, allocations: 0 / 1.015 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.9268, allocations: 40.92 kB / 1.015 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.9269, allocations: 54.14 kB / 1.015 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.9269, allocations: 96.48 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.9269, allocations: 25.7 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.927, allocations: 84.17 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.927, allocations: 6.656 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.927, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.9271, allocations: 322.7 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.9272, allocations: 3.625 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.9272, allocations: 4 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/0.9272, allocations: 7.875 kB / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9272, allocations: 0 / 1.016 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.33e-05/0.9273, allocations: 41.75 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9273, allocations: 10.03 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9273, allocations: 0 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.9273, allocations: 192 / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.857e-05/0.9274, allocations: 11.98 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.9274, allocations: 0 / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.9275, allocations: 7.875 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.9275, allocations: 4 kB / 1.016 GB, free: 3.484 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 7.199e-05/0.9276, allocations: 109 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.07e-05/0.9277, allocations: 41.62 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9277, allocations: 15.02 kB / 1.016 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.706e-05/0.9277, allocations: 7.703 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.9277, allocations: 0 / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.9277, allocations: 0 / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9278, allocations: 3.938 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.9279, allocations: 141.2 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9279, allocations: 3.938 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.928, allocations: 12.03 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.928, allocations: 4 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.928, allocations: 3.984 kB / 1.016 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.928, allocations: 3.938 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.928, allocations: 0 / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.9281, allocations: 137.8 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.9282, allocations: 85.14 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.9282, allocations: 0 / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.9283, allocations: 7.984 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.9283, allocations: 4 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.9283, allocations: 3.984 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.9284, allocations: 82.59 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9284, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002073/0.9286, allocations: 4 kB / 1.017 GB, free: 2.758 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.0004356/0.929, allocations: 0.6716 MB / 1.017 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.733e-05/0.9291, allocations: 17.5 kB / 1.017 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.9291, allocations: 4 kB / 1.017 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.9292, allocations: 7.125 kB / 1.017 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.9293, allocations: 4.156 kB / 1.017 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.9297, allocations: 92.72 kB / 1.017 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.9299, allocations: 0.6768 MB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.9299, allocations: 0 / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.93, allocations: 15.42 kB / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.93, allocations: 0 / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.9498, allocations: 0.707 MB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.9502, allocations: 166.1 kB / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/2.512, allocations: 3.375 kB / 1.019 GB, free: 312 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)