Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.611/2.611, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001352/0.001352, allocations: 172.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008715/0.0008716, allocations: 99.05 kB / 0.743 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.000496, allocations: 19.17 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007642/0.2075, allocations: 355.4 kB / 0.9787 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.2082, allocations: 323.2 kB / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.2082, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.2082, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.786e-05/0.2083, allocations: 0 / 0.979 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.2087, allocations: 81.66 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.262e-05/0.2088, allocations: 19.97 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.2088, allocations: 4 kB / 0.9791 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.2089, allocations: 15.94 kB / 0.9791 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.2089, allocations: 11.98 kB / 0.9791 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2089, allocations: 0 / 0.9791 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.2094, allocations: 267.6 kB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.2094, allocations: 11.91 kB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.2095, allocations: 33.7 kB / 0.9794 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.2096, allocations: 59.89 kB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2096, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2096, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2097, allocations: 0 / 0.9795 GB, free: 27.16 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.000363/0.21, allocations: 359.5 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2101, allocations: 12.02 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.2101, allocations: 8 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.2102, allocations: 163 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2103, allocations: 11.88 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.2103, allocations: 8 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2104, allocations: 41.69 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2105, allocations: 0 / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2105, allocations: 12 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2105, allocations: 0 / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.2106, allocations: 15.98 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2107, allocations: 173.5 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.2109, allocations: 58.5 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.2109, allocations: 29.08 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000869/0.2118, allocations: 465.5 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2119, allocations: 34.56 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2119, allocations: 0 / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.00151/0.2134, allocations: 0.5876 MB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2134, allocations: 51.41 kB / 0.9815 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.2135, allocations: 105.8 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.2135, allocations: 25.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.2136, allocations: 88.14 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.2136, allocations: 39.45 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.2136, allocations: 0 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.2137, allocations: 318.8 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.2138, allocations: 19.98 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.2138, allocations: 23.98 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.2139, allocations: 23.94 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2139, allocations: 4 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002058/0.2141, allocations: 102.3 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2142, allocations: 8 kB / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2142, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2142, allocations: 0 / 0.9822 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2144, allocations: 23.98 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2144, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.2144, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.2145, allocations: 8 kB / 0.9822 GB, free: 23.99 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 7.098e-05/0.2145, allocations: 121.7 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.2146, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.2148, allocations: 109.5 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2149, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2149, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2149, allocations: 0 / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.2153, allocations: 362.6 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2153, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2155, allocations: 23.98 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2156, allocations: 4 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2156, allocations: 96 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2156, allocations: 7.938 kB / 0.9828 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2156, allocations: 0 / 0.9828 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.2159, allocations: 228 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.216, allocations: 85.09 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.216, allocations: 4 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2161, allocations: 0 / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.2162, allocations: 11.98 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2162, allocations: 4 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.2162, allocations: 79.34 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2162, allocations: 0 / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003637/0.2166, allocations: 44 kB / 0.9832 GB, free: 22.83 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.0002594/0.2169, allocations: 139.2 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.2171, allocations: 67.86 kB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2171, allocations: 0 / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.2172, allocations: 35.92 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2174, allocations: 11.95 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.2179, allocations: 191.9 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.218, allocations: 0.6848 MB / 0.9843 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.2181, allocations: 15.98 kB / 0.9844 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2181, allocations: 11.44 kB / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2181, allocations: 0 / 0.9844 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.004651/0.2228, allocations: 1.358 MB / 0.9857 GB, free: 20.27 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)