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.687/1.687, 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.001064/0.001064, allocations: 182.6 kB / 326.6 MB, free: 2.227 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.657/1.657, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0007426/0.0007425, allocations: 96 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 13.31 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1854, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006032/0.186, allocations: 342.1 kB / 0.9006 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.1865, allocations: 316.5 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.1865, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-06/0.1866, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.142e-05/0.1866, allocations: 7.938 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1869, allocations: 71.84 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.819e-05/0.1869, allocations: 8 kB / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.187, allocations: 0 / 0.901 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.187, allocations: 4 kB / 0.901 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.1871, allocations: 7.922 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1871, allocations: 4 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002741/0.1874, allocations: 259.7 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.1874, allocations: 11.98 kB / 0.9013 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.1874, allocations: 33.64 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.436e-05/0.1875, allocations: 51.91 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1875, allocations: 3.984 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1875, allocations: 0 / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1875, allocations: 0 / 0.9014 GB, free: 62.71 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.0002247/0.1878, allocations: 335.4 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1878, allocations: 8.031 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.389e-05/0.1878, allocations: 34.56 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.1879, allocations: 4 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.895e-05/0.188, allocations: 167 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.188, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.188, allocations: 4 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.1881, allocations: 41.62 kB / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1881, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1881, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1881, allocations: 0 / 0.902 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.738e-05/0.1882, allocations: 4 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.1883, allocations: 161.7 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.716e-05/0.1883, allocations: 18.58 kB / 0.9021 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.375e-05/0.1883, allocations: 4.859 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005856/0.1889, allocations: 473.5 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.189, allocations: 30.56 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.189, allocations: 0 / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.1894, allocations: 246.3 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.1894, allocations: 55.62 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.656e-05/0.1895, allocations: 97.86 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.1895, allocations: 25.7 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.328e-05/0.1895, allocations: 80.14 kB / 0.9031 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.1895, allocations: 20.11 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.1895, allocations: 0 / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.1896, allocations: 314.8 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.1896, allocations: 4 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.087e-05/0.1896, allocations: 21.84 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.101e-05/0.1896, allocations: 7.984 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.1896, allocations: 0 / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.863e-05/0.1897, allocations: 57.55 kB / 0.9035 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.1897, allocations: 8 kB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1898, allocations: 0 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.1898, allocations: 0 / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1898, allocations: 12.05 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1898, allocations: 4 kB / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.1899, allocations: 0 / 0.9035 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1899, allocations: 3.938 kB / 0.9035 GB, free: 60.14 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.715e-05/0.1899, allocations: 121.7 kB / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.19, allocations: 0 / 0.9036 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1901, allocations: 57.31 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1901, allocations: 8.031 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1901, allocations: 0 / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1901, allocations: 4 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.991e-05/0.1902, allocations: 153.6 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1902, allocations: 4 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1902, allocations: 4 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1902, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1902, allocations: 4 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1902, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1903, allocations: 0 / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1904, allocations: 89.08 kB / 0.904 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.1904, allocations: 81.06 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1904, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.1905, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.1905, allocations: 4 kB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1905, allocations: 0 / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.1905, allocations: 75.28 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1905, allocations: 0 / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000199/0.1907, allocations: 36.14 kB / 0.9041 GB, free: 59.41 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.0003144/0.191, allocations: 0.6436 MB / 0.9048 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.1911, allocations: 15.98 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1911, allocations: 0 / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.1911, allocations: 16.12 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1913, allocations: 6.031 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.1917, allocations: 365.1 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.873e-05/0.1918, allocations: 0.677 MB / 0.9058 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.1918, allocations: 12 kB / 0.9058 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.1918, allocations: 7.438 kB / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.1918, allocations: 0 / 0.9058 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01093/0.2028, allocations: 1.53 MB / 0.9073 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.2029, allocations: 239.7 kB / 0.9076 GB, free: 56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.688, allocations: 0 / 0.9076 GB, free: 56 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)