Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.00102/0.00102, allocations: 172.5 kB / 372 MB, free: 10.28 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.492/1.492, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006971/0.0006971, allocations: 94.34 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 12.69 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006328/0.1928, allocations: 343.8 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005069/0.1933, allocations: 327.2 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.1933, allocations: 4 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.089e-05/0.1933, allocations: 0 / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.426e-05/0.1934, allocations: 3.938 kB / 0.9803 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1937, allocations: 79.83 kB / 0.9804 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.976e-05/0.1938, allocations: 19.98 kB / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.1938, allocations: 0 / 0.9804 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.1939, allocations: 15.86 kB / 0.9804 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.1939, allocations: 15.92 kB / 0.9804 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1939, allocations: 8 kB / 0.9804 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003123/0.1943, allocations: 259.7 kB / 0.9807 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.1943, allocations: 11.98 kB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.1943, allocations: 25.7 kB / 0.9807 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1944, allocations: 63.89 kB / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1944, allocations: 0 / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1944, allocations: 0 / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.1944, allocations: 0 / 0.9808 GB, free: 26.4 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003454/0.1948, allocations: 355.5 kB / 0.9811 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1948, allocations: 12.03 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.1949, allocations: 38.5 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1949, allocations: 4 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.195, allocations: 167 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.195, allocations: 4 kB / 0.9813 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1951, allocations: 8 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.1952, allocations: 45.67 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1952, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1952, allocations: 4 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1952, allocations: 0 / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.1953, allocations: 23.98 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.1954, allocations: 177.5 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.1955, allocations: 58.55 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.1956, allocations: 24.86 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.1961, allocations: 461.5 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1962, allocations: 38.56 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.1962, allocations: 0 / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001049/0.1972, allocations: 0.5956 MB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.1973, allocations: 51.41 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.496e-05/0.1973, allocations: 101.8 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.1973, allocations: 29.69 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.1973, allocations: 80.14 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1974, allocations: 35.47 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.1974, allocations: 8 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.1974, allocations: 326.7 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.1975, allocations: 19.98 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.07e-05/0.1975, allocations: 24 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.959e-05/0.1975, allocations: 21.62 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1976, allocations: 4 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00012/0.1977, allocations: 97.58 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1977, allocations: 5.875 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1977, allocations: 0 / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1977, allocations: 4 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.1978, allocations: 27.92 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1978, allocations: 96 / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.1979, allocations: 3.938 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1979, allocations: 4 kB / 0.9835 GB, free: 23.19 MB / 0.6198 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 (13): * Single equations (assignments): 13 * 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.12e-05/0.1979, allocations: 121.8 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.198, allocations: 3.906 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1981, allocations: 105.6 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1981, allocations: 4 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1981, allocations: 0 / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1982, allocations: 3.938 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.1985, allocations: 354.5 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1985, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1986, allocations: 24.11 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1986, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1986, allocations: 4 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1986, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1986, allocations: 3.984 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1988, allocations: 223.4 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.1989, allocations: 85.09 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1989, allocations: 4 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.199, allocations: 0 / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.199, allocations: 11.98 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.199, allocations: 4 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.792e-05/0.199, allocations: 79.27 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.199, allocations: 4.062 kB / 0.9845 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002744/0.1993, allocations: 48 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004199/0.1997, allocations: 0.7924 MB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.1999, allocations: 59.92 kB / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1999, allocations: 0 / 0.9854 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.1999, allocations: 39.98 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2001, allocations: 8.766 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.2007, allocations: 0.5169 MB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.2009, allocations: 0.6888 MB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.2009, allocations: 11.98 kB / 0.9866 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.201, allocations: 15.44 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.201, allocations: 0 / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.2144, allocations: 2.26 MB / 0.9889 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.2146, allocations: 231.5 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.882, allocations: 0 / 0.9891 GB, free: 17.5 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)