Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.373/1.373, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001036/0.001036, allocations: 171.7 kB / 326.5 MB, free: 2.254 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.539/1.539, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009016/0.0009016, allocations: 113.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 15.88 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1881, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006302/0.1888, allocations: 333.2 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004808/0.1893, allocations: 313.2 kB / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.1893, allocations: 0 / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.1894, allocations: 0 / 0.9008 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.119e-05/0.1894, allocations: 4 kB / 0.9008 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.1897, allocations: 78.47 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.1898, allocations: 3.984 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.1898, allocations: 0 / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.962e-05/0.1899, allocations: 8 kB / 0.9009 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1899, allocations: 7.984 kB / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1899, allocations: 0 / 0.9009 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.1903, allocations: 259.6 kB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.845e-06/0.1903, allocations: 4 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1903, allocations: 29.64 kB / 0.9012 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.1905, allocations: 55.91 kB / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1905, allocations: 0 / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1905, allocations: 0 / 0.9012 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.1905, allocations: 0 / 0.9012 GB, free: 62.77 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00025/0.1907, allocations: 339.4 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1908, allocations: 8.031 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.1908, allocations: 30.56 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.1909, allocations: 8 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.037e-05/0.1909, allocations: 171 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.191, allocations: 0 / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.191, allocations: 3.984 kB / 0.9017 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/0.1911, allocations: 33.69 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1911, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1911, allocations: 4 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1911, allocations: 3.938 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.1911, allocations: 3.938 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.1912, allocations: 161.6 kB / 0.9019 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.1913, allocations: 22.61 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/0.1919, allocations: 461.5 kB / 0.9024 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1919, allocations: 34.55 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1919, allocations: 3.938 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004157/0.1923, allocations: 254.3 kB / 0.9027 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.1924, allocations: 51.41 kB / 0.9027 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.1924, allocations: 98.08 kB / 0.9028 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.1924, allocations: 25.7 kB / 0.9028 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.775e-05/0.1925, allocations: 84.14 kB / 0.9029 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1925, allocations: 12.12 kB / 0.9029 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.1925, allocations: 3.938 kB / 0.9029 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.679e-05/0.1925, allocations: 318.8 kB / 0.9032 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.1926, allocations: 8 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.1926, allocations: 17.84 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.1926, allocations: 8 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.1926, allocations: 0 / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.535e-05/0.1927, allocations: 57.53 kB / 0.9033 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1927, allocations: 8 kB / 0.9033 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1927, allocations: 0 / 0.9033 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1928, allocations: 0 / 0.9033 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/0.1928, allocations: 4 kB / 0.9033 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1928, allocations: 7.984 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.1929, allocations: 4.062 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1929, allocations: 4 kB / 0.9034 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.977e-05/0.1929, allocations: 117.8 kB / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.193, allocations: 0 / 0.9035 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.1931, allocations: 53.12 kB / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1931, allocations: 0 / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1931, allocations: 0 / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1931, allocations: 4 kB / 0.9035 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.149e-05/0.1932, allocations: 157.6 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1932, allocations: 4 kB / 0.9037 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.1932, allocations: 7.984 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1932, allocations: 0 / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.1933, allocations: 3.938 kB / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1933, allocations: 0 / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1933, allocations: 0 / 0.9037 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.1934, allocations: 81.34 kB / 0.9038 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.1934, allocations: 85.09 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1934, allocations: 7.922 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.1935, allocations: 3.938 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1935, allocations: 4 kB / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1935, allocations: 0 / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.631e-05/0.1935, allocations: 79.28 kB / 0.9039 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1935, allocations: 0 / 0.9039 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002002/0.1937, allocations: 24 kB / 0.904 GB, free: 59.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003944/0.1941, allocations: 0.6477 MB / 0.9046 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.1942, allocations: 19.94 kB / 0.9046 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1942, allocations: 0 / 0.9046 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.1943, allocations: 11.98 kB / 0.9046 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.1944, allocations: 2.219 kB / 0.9046 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.1949, allocations: 0.5059 MB / 0.9051 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.195, allocations: 0.677 MB / 0.9058 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.195, allocations: 8.062 kB / 0.9058 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.1951, allocations: 11.44 kB / 0.9058 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1951, allocations: 0 / 0.9058 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.2058, allocations: 1.521 MB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.206, allocations: 218.7 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.675, allocations: 3.938 kB / 0.9075 GB, free: 55.93 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)