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.367/1.367, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008982/0.0008983, allocations: 177.7 kB / 325.8 MB, free: 2.719 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.625/1.625, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006628/0.0006628, allocations: 89.17 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 13.12 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006909/0.1889, allocations: 342.9 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.1895, allocations: 371.6 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.1895, allocations: 3.938 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1896, allocations: 0 / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.1896, allocations: 7.938 kB / 0.8969 GB, free: 67.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.19, allocations: 77.59 kB / 0.897 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.345e-05/0.19, allocations: 4 kB / 0.897 GB, free: 67.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1901, allocations: 7.969 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.1901, allocations: 8 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.1901, allocations: 0 / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1902, allocations: 4 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1905, allocations: 267.7 kB / 0.8973 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1905, allocations: 11.92 kB / 0.8973 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.1905, allocations: 4 kB / 0.8973 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1906, allocations: 95.78 kB / 0.8974 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1907, allocations: 0 / 0.8974 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1907, allocations: 0 / 0.8974 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.1907, allocations: 0 / 0.8974 GB, free: 66.92 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.0002575/0.1909, allocations: 335.8 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.191, allocations: 12.03 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.191, allocations: 30.75 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.1911, allocations: 4.938 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.1911, allocations: 168.3 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1912, allocations: 4.375 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.1912, allocations: 384 / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.1913, allocations: 34.27 kB / 0.8979 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1913, allocations: 7.922 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1913, allocations: 0 / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1913, allocations: 0 / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.88e-05/0.1913, allocations: 7.984 kB / 0.8979 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.1914, allocations: 153.7 kB / 0.8981 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.033e-05/0.1915, allocations: 26.53 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.281e-05/0.1915, allocations: 4.859 kB / 0.8981 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.1921, allocations: 461.5 kB / 0.8986 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1921, allocations: 34.56 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1921, allocations: 0 / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004034/0.1925, allocations: 250.2 kB / 0.8988 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.1926, allocations: 59.62 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.916e-05/0.1926, allocations: 97.84 kB / 0.899 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1926, allocations: 25.7 kB / 0.899 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.454e-05/0.1927, allocations: 84.14 kB / 0.8991 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.1927, allocations: 3.906 kB / 0.8991 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.1927, allocations: 17.66 kB / 0.8991 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.1927, allocations: 318.8 kB / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.1928, allocations: 0 / 0.8994 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.1928, allocations: 33.72 kB / 0.8994 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.1928, allocations: 21.72 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.1928, allocations: 0 / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.5e-05/0.1929, allocations: 57.53 kB / 0.8995 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1929, allocations: 7.938 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.193, allocations: 4 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.193, allocations: 4.062 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.193, allocations: 7.984 kB / 0.8995 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.193, allocations: 4 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.1931, allocations: 0 / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1931, allocations: 4 kB / 0.8996 GB, free: 64.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.1931, allocations: 109.8 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.1931, allocations: 3.938 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1933, allocations: 57.12 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1933, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1933, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1933, allocations: 3.984 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.463e-05/0.1934, allocations: 153.7 kB / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1934, allocations: 0 / 0.8999 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.1934, allocations: 8 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1934, allocations: 3.938 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.1934, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1934, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1935, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1936, allocations: 89.09 kB / 0.9 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.1936, allocations: 85.27 kB / 0.9 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1936, allocations: 0 / 0.9 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.1937, allocations: 0 / 0.9 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1937, allocations: 11.98 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.1937, allocations: 0 / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.1937, allocations: 79.34 kB / 0.9001 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/0.1937, allocations: 0 / 0.9001 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001963/0.1939, allocations: 27.98 kB / 0.9002 GB, free: 63.57 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 (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.0003485/0.1943, allocations: 0.6485 MB / 0.9008 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.1944, allocations: 23.88 kB / 0.9008 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1944, allocations: 4.281 kB / 0.9008 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.1944, allocations: 11.98 kB / 0.9008 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1945, allocations: 5.5 kB / 0.9008 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.1952, allocations: 1.117 MB / 0.9019 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.1953, allocations: 0.6731 MB / 0.9026 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.1954, allocations: 11.98 kB / 0.9026 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1954, allocations: 11.44 kB / 0.9026 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1954, allocations: 4 kB / 0.9026 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01125/0.2066, allocations: 1.547 MB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.2068, allocations: 241.8 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.698, allocations: 2.344 kB / 0.9044 GB, free: 59.32 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)