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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.002124/0.002124, allocations: 184.5 kB / 376.9 MB, free: 1.805 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.848/1.848, allocations: 205.1 MB / 0.6354 GB, free: 9.773 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.001134/0.001135, allocations: 98.5 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001209, allocations: 59.91 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2866, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.002617/0.2893, allocations: 0.7322 MB / 0.983 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.2905, allocations: 0.7932 MB / 0.9837 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.2906, allocations: 0 / 0.9837 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.2906, allocations: 3.984 kB / 0.9837 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.794e-05/0.2907, allocations: 4 kB / 0.9837 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.2909, allocations: 11.94 kB / 0.9837 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.291, allocations: 15.98 kB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2911, allocations: 15.98 kB / 0.9838 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.2912, allocations: 7.938 kB / 0.9838 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.2913, allocations: 11.98 kB / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2913, allocations: 0 / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.35e-05/0.2913, allocations: 0 / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2913, allocations: 3.938 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.2914, allocations: 19.92 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2915, allocations: 19.91 kB / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2915, allocations: 0 / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2915, allocations: 0 / 0.9838 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2915, allocations: 0 / 0.9838 GB, free: 8.703 MB / 0.7136 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.0004802/0.292, allocations: 335.7 kB / 0.9842 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.2921, allocations: 12.03 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.2921, allocations: 4.938 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2923, allocations: 168.3 kB / 0.9843 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2923, allocations: 12.31 kB / 0.9843 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2923, allocations: 384 / 0.9843 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.2925, allocations: 50.23 kB / 0.9844 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2925, allocations: 4.188 kB / 0.9844 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2926, allocations: 3.938 kB / 0.9844 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2926, allocations: 0 / 0.9844 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.2927, allocations: 39.89 kB / 0.9844 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.2931, allocations: 245 kB / 0.9847 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.2933, allocations: 42.48 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.2934, allocations: 16.91 kB / 0.9847 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2934, allocations: 0 / 0.9847 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.2934, allocations: 42.56 kB / 0.9848 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2935, allocations: 0 / 0.9848 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.2938, allocations: 77.58 kB / 0.9848 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2939, allocations: 55.41 kB / 0.9849 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.294, allocations: 101.8 kB / 0.985 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.294, allocations: 29.64 kB / 0.985 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.2941, allocations: 84.27 kB / 0.9851 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2941, allocations: 11.91 kB / 0.9851 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2941, allocations: 9.719 kB / 0.9851 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2942, allocations: 310.8 kB / 0.9854 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.2943, allocations: 23.97 kB / 0.9854 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.205e-05/0.2944, allocations: 11.98 kB / 0.9855 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2946, allocations: 48.83 kB / 0.9855 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2946, allocations: 0 / 0.9855 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001951/0.2948, allocations: 65.78 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2948, allocations: 8 kB / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2948, allocations: 0 / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2949, allocations: 3.984 kB / 0.9856 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.295, allocations: 8.016 kB / 0.9856 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.295, allocations: 8 kB / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.295, allocations: 4 kB / 0.9856 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.295, allocations: 0 / 0.9856 GB, free: 6.676 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.2951, allocations: 117.8 kB / 0.9857 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2952, allocations: 3.906 kB / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.2952, allocations: 11.12 kB / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2952, allocations: 0 / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2952, allocations: 0 / 0.9857 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2952, allocations: 4 kB / 0.9857 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2954, allocations: 157.6 kB / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2954, allocations: 3.984 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.2955, allocations: 11.94 kB / 0.9859 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2955, allocations: 3.938 kB / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2955, allocations: 0 / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2955, allocations: 0 / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2955, allocations: 0 / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.2961, allocations: 0.724 MB / 0.9866 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.2961, allocations: 77.11 kB / 0.9867 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2962, allocations: 3.984 kB / 0.9867 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.2963, allocations: 12 kB / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.2963, allocations: 0 / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2963, allocations: 15.95 kB / 0.9867 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.2964, allocations: 79.22 kB / 0.9868 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2964, allocations: 0 / 0.9868 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003024/0.2967, allocations: 7.938 kB / 0.9868 GB, free: 5.32 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.2969, allocations: 99.25 kB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2971, allocations: 35.95 kB / 0.9869 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2971, allocations: 4.062 kB / 0.9869 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.2972, allocations: 23.92 kB / 0.9869 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.2975, allocations: 4 kB / 0.987 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.2979, allocations: 210.2 kB / 0.9872 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.2982, allocations: 0.677 MB / 0.9878 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.2982, allocations: 4.062 kB / 0.9878 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.2983, allocations: 11.44 kB / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.2983, allocations: 0 / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of Templates: time 0.002406/0.3007, allocations: 381 kB / 0.9882 GB, free: 3.816 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1)