Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 178.9 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.95 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.433e-05/4.435e-05, allocations: 8 kB / 0.8663 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9067/1.217, allocations: 138.4 MB / 1.115 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.217, allocations: 71.06 kB / 1.115 GB, free: 45.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001528/1.219, allocations: 0.6163 MB / 1.116 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.713e-06/1.219, allocations: 0.625 kB / 1.116 GB, free: 44.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.219, allocations: 4 kB / 1.116 GB, free: 44.66 MB / 0.7448 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.0002814/1.219, allocations: 330.5 kB / 1.116 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.219, allocations: 8.812 kB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/1.219, allocations: 31.12 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/1.219, allocations: 16.11 kB / 1.116 GB, free: 44.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/1.219, allocations: 163.1 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.219, allocations: 3.859 kB / 1.116 GB, free: 44.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/1.219, allocations: 7.391 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.989e-05/1.219, allocations: 40.31 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/1.219, allocations: 0 / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/1.219, allocations: 0.75 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/1.219, allocations: 0 / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/1.22, allocations: 12.69 kB / 1.116 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/1.22, allocations: 253.9 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/1.22, allocations: 21.77 kB / 1.117 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/1.22, allocations: 16.73 kB / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/1.22, allocations: 0 / 1.117 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/1.22, allocations: 34.56 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.22, allocations: 1.906 kB / 1.117 GB, free: 43.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001314/1.22, allocations: 43.17 kB / 1.117 GB, free: 43.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/1.22, allocations: 51.41 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/1.22, allocations: 96.42 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/1.22, allocations: 26.86 kB / 1.117 GB, free: 43.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/1.22, allocations: 84.14 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/1.22, allocations: 12.47 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/1.22, allocations: 0 / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/1.22, allocations: 318.2 kB / 1.117 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.498e-05/1.22, allocations: 4 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.28e-05/1.22, allocations: 11.12 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.856e-05/1.22, allocations: 4 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.22, allocations: 0 / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.731e-05/1.22, allocations: 40.7 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/1.22, allocations: 12.09 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.22, allocations: 0.625 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/1.22, allocations: 0.5625 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/1.221, allocations: 14.84 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/1.221, allocations: 0 / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/1.221, allocations: 8 kB / 1.117 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/1.221, allocations: 0.875 kB / 1.117 GB, free: 42.93 MB / 0.7448 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 4.408e-05/1.221, allocations: 112.3 kB / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/1.221, allocations: 0.6562 kB / 1.117 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/1.221, allocations: 7.828 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.221, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.221, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.221, allocations: 0 / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/1.221, allocations: 170.9 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.221, allocations: 0 / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/1.221, allocations: 12.66 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.221, allocations: 4 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/1.221, allocations: 4 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.221, allocations: 3.062 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.221, allocations: 1.25 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.51e-05/1.221, allocations: 141.8 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/1.221, allocations: 77.86 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/1.221, allocations: 0 / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.028e-05/1.221, allocations: 11.5 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/1.221, allocations: 4 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.221, allocations: 0 / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.56e-05/1.221, allocations: 83.38 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.221, allocations: 0 / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002072/1.222, allocations: 4 kB / 1.118 GB, free: 42.25 MB / 0.7448 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.0002866/1.222, allocations: 0.6864 MB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/1.222, allocations: 11.25 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.222, allocations: 0 / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-05/1.222, allocations: 10.94 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/1.222, allocations: 5.406 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/1.222, allocations: 95.19 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/1.223, allocations: 0.6796 MB / 1.119 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.268e-05/1.223, allocations: 2.953 kB / 1.119 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/1.223, allocations: 11.44 kB / 1.119 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.223, allocations: 0 / 1.119 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/1.234, allocations: 1.004 MB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/1.234, allocations: 159.7 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.875, allocations: 0 / 1.121 GB, free: 39.97 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)