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.424/1.424, allocations: 252 MB / 267 MB, free: 10.97 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.0009732/0.0009731, allocations: 190.4 kB / 326.6 MB, free: 2.223 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.796/1.796, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0008178/0.0008175, allocations: 87.58 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003644, allocations: 16.03 kB / 0.7965 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2593, allocations: 106.3 MB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.001534/0.2609, allocations: 1.089 MB / 0.9014 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.2612, allocations: 113.8 kB / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2612, allocations: 0 / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.2612, allocations: 0 / 0.9015 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.2613, allocations: 3.938 kB / 0.9015 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.2615, allocations: 15.98 kB / 0.9015 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.325e-05/0.2615, allocations: 15.94 kB / 0.9015 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2616, allocations: 7.984 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.2617, allocations: 4 kB / 0.9016 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.823e-05/0.2617, allocations: 15.92 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2618, allocations: 0 / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.2618, allocations: 0 / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.2618, allocations: 4 kB / 0.9016 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.2618, allocations: 25.7 kB / 0.9016 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.287e-05/0.2619, allocations: 15.95 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2619, allocations: 4 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2619, allocations: 0 / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2619, allocations: 0 / 0.9016 GB, free: 62.98 MB / 0.6042 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.0003924/0.2623, allocations: 339.3 kB / 0.9019 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.2623, allocations: 8.031 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2624, allocations: 30.56 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.2624, allocations: 7.938 kB / 0.902 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.2625, allocations: 174.9 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2625, allocations: 0 / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2626, allocations: 8 kB / 0.9022 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2627, allocations: 45.69 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2628, allocations: 7.922 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2628, allocations: 4 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2628, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.263, allocations: 43.97 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.2633, allocations: 253 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2634, allocations: 46.59 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.2635, allocations: 24.91 kB / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2635, allocations: 0 / 0.9026 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.2635, allocations: 30.56 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2635, allocations: 4 kB / 0.9026 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.2639, allocations: 101.6 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.2639, allocations: 55.53 kB / 0.9027 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.264, allocations: 105.8 kB / 0.9028 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.264, allocations: 25.7 kB / 0.9029 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.264, allocations: 84.14 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.2641, allocations: 3.906 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2641, allocations: 4 kB / 0.903 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.2641, allocations: 314.8 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.324e-05/0.2642, allocations: 27.97 kB / 0.9033 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.2643, allocations: 19.98 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.2644, allocations: 19.98 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2644, allocations: 64 / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.2646, allocations: 85.59 kB / 0.9034 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2646, allocations: 4 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2646, allocations: 0 / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2646, allocations: 0 / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.2647, allocations: 20.02 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2647, allocations: 0 / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.2648, allocations: 4 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-06/0.2648, allocations: 3.953 kB / 0.9034 GB, free: 60.89 MB / 0.6042 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 5.488e-05/0.2649, allocations: 113.8 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.2649, allocations: 3.906 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.2649, allocations: 7.125 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2649, allocations: 4.188 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2649, allocations: 7.938 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2649, allocations: 3.984 kB / 0.9036 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.265, allocations: 161.6 kB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2651, allocations: 0 / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.2651, allocations: 11.98 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2651, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2651, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2651, allocations: 4 kB / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2651, allocations: 0 / 0.9037 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.2654, allocations: 179.4 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.2654, allocations: 77.11 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.2654, allocations: 8.016 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.2655, allocations: 12 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2655, allocations: 0 / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2655, allocations: 3.984 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.2656, allocations: 79.28 kB / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 0.9041 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000185/0.2658, allocations: 4 kB / 0.9041 GB, free: 60.12 MB / 0.6042 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.0004292/0.2662, allocations: 0.7085 MB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.2664, allocations: 51.98 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2664, allocations: 0 / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.2665, allocations: 23.98 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2668, allocations: 4.125 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.2671, allocations: 138.3 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2673, allocations: 0.6809 MB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.2673, allocations: 0 / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.2673, allocations: 11.44 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of SimCode: time 7.12e-07/0.2673, allocations: 0 / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.2795, allocations: 1.039 MB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.2799, allocations: 199.5 kB / 0.9069 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.985, allocations: 3.938 kB / 0.9069 GB, free: 57.29 MB / 0.6042 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)