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.443/1.443, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.001192/0.001192, allocations: 179.8 kB / 326.5 MB, free: 2.234 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.003/2.003, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008332/0.000833, allocations: 96.28 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003418, allocations: 12.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.3752, allocations: 131.4 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3755, allocations: 67.97 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001633/0.3771, allocations: 0.6414 MB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3771, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3771, allocations: 0 / 1.029 GB, free: 11.59 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.0003514/0.3775, allocations: 347.2 kB / 1.029 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3775, allocations: 8.031 kB / 1.029 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.3776, allocations: 38.56 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.917e-05/0.3776, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.3777, allocations: 167 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3778, allocations: 4 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3778, allocations: 0 / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.378, allocations: 61.61 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.378, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.378, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.378, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.3782, allocations: 51.89 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.3786, allocations: 248.8 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3787, allocations: 42.56 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3787, allocations: 15.91 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3788, allocations: 30.56 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3788, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.3791, allocations: 97.8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.3792, allocations: 55.41 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.3792, allocations: 89 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.3792, allocations: 25.7 kB / 1.03 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.3793, allocations: 84.14 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.3793, allocations: 3.906 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.3793, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3794, allocations: 326.8 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.3795, allocations: 19.98 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.3796, allocations: 23.92 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.365e-05/0.3797, allocations: 24.05 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3797, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.3799, allocations: 73.66 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3799, allocations: 8 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3799, allocations: 4.031 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3799, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.683e-05/0.38, allocations: 11.98 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.38, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.3801, allocations: 11.98 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3801, allocations: 3.938 kB / 1.031 GB, free: 9.527 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 8.076e-05/0.3802, allocations: 113.8 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.3802, allocations: 8 kB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3803, allocations: 3.125 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3803, allocations: 0 / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3803, allocations: 0 / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3803, allocations: 3.938 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3804, allocations: 165.5 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3804, allocations: 0 / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3805, allocations: 8 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3805, allocations: 4 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3805, allocations: 11.98 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3805, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3806, allocations: 0 / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.3808, allocations: 175.5 kB / 1.031 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.3808, allocations: 77.11 kB / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3809, allocations: 4 kB / 1.031 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.3809, allocations: 7.938 kB / 1.031 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.381, allocations: 3.984 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.381, allocations: 4 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.381, allocations: 79.28 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.381, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002009/0.3812, allocations: 8.031 kB / 1.032 GB, free: 8.766 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.0006054/0.3819, allocations: 0.7169 MB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3821, allocations: 43.97 kB / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3821, allocations: 0 / 1.032 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.3822, allocations: 31.98 kB / 1.032 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.3824, allocations: 4.5 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.3828, allocations: 142.9 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.3831, allocations: 0.6809 MB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.3831, allocations: 4.062 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/0.3831, allocations: 7.438 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.3831, allocations: 0 / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.3937, allocations: 0.9984 MB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.3939, allocations: 204.7 kB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.411/1.805, allocations: 0 / 1.034 GB, free: 5.945 MB / 0.6823 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)