Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 111.2 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009889/0.0009889, allocations: 189.3 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.5492 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 0.6717 GB, free: 6.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2091, allocations: 114.5 MB / 0.7835 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001826/0.2109, allocations: 0.6543 MB / 0.7842 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.2115, allocations: 326.9 kB / 0.7845 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.2116, allocations: 0 / 0.7845 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.2116, allocations: 0 / 0.7845 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.2116, allocations: 0 / 0.7845 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.212, allocations: 97.47 kB / 0.7846 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.253e-05/0.212, allocations: 0 / 0.7846 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.2121, allocations: 4 kB / 0.7846 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.2121, allocations: 0 / 0.7846 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.2121, allocations: 3.938 kB / 0.7846 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.2121, allocations: 0 / 0.7846 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.2125, allocations: 271.7 kB / 0.7848 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2125, allocations: 3.984 kB / 0.7848 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.2125, allocations: 7.938 kB / 0.7848 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2126, allocations: 55.91 kB / 0.7849 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.2126, allocations: 4 kB / 0.7849 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2127, allocations: 0 / 0.7849 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2127, allocations: 0 / 0.7849 GB, free: 2.848 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002814/0.2129, allocations: 327.6 kB / 0.7852 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.213, allocations: 8.031 kB / 0.7852 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.213, allocations: 4.938 kB / 0.7852 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.331e-05/0.2131, allocations: 160.4 kB / 0.7854 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2131, allocations: 4.375 kB / 0.7854 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.2132, allocations: 384 / 0.7854 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.2132, allocations: 34.25 kB / 0.7854 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.2133, allocations: 192 / 0.7854 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.2133, allocations: 3.938 kB / 0.7854 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2133, allocations: 0 / 0.7854 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.772e-05/0.2133, allocations: 3.938 kB / 0.7854 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.2134, allocations: 149.7 kB / 0.7856 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.272e-05/0.2135, allocations: 22.58 kB / 0.7856 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.2135, allocations: 4.859 kB / 0.7856 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004762/0.214, allocations: 429.5 kB / 0.786 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.214, allocations: 34.55 kB / 0.786 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.214, allocations: 0 / 0.786 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.2142, allocations: 49.58 kB / 0.7861 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2142, allocations: 51.41 kB / 0.7861 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.208e-05/0.2142, allocations: 89.86 kB / 0.7862 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2143, allocations: 25.7 kB / 0.7862 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.2143, allocations: 84.12 kB / 0.7863 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.2143, allocations: 0 / 0.7863 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.2143, allocations: 13.72 kB / 0.7863 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.2144, allocations: 311 kB / 0.7866 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.2145, allocations: 7.984 kB / 0.7866 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-06/0.2145, allocations: 4 kB / 0.7866 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.2145, allocations: 8.859 kB / 0.7866 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2145, allocations: 0 / 0.7866 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.509e-05/0.2146, allocations: 37.64 kB / 0.7867 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2146, allocations: 6.969 kB / 0.7867 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2146, allocations: 0 / 0.7867 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2146, allocations: 3.938 kB / 0.7867 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.2147, allocations: 8.094 kB / 0.7867 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2147, allocations: 0 / 0.7867 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.2147, allocations: 3.906 kB / 0.7867 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.2147, allocations: 3.984 kB / 0.7867 GB, free: 0.6758 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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 5.404e-05/0.2147, allocations: 110.1 kB / 0.7868 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.2148, allocations: 4 kB / 0.7868 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.2149, allocations: 40.77 kB / 0.7869 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2149, allocations: 4.031 kB / 0.7869 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.2149, allocations: 0 / 0.7869 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2149, allocations: 7.938 kB / 0.7869 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.215, allocations: 149.6 kB / 0.787 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.215, allocations: 4 kB / 0.787 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.215, allocations: 0 / 0.787 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.215, allocations: 0 / 0.787 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.215, allocations: 3.938 kB / 0.787 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.215, allocations: 0 / 0.787 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.215, allocations: 4 kB / 0.787 GB, free: 296 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.434e-05/0.2151, allocations: 69.05 kB / 0.7871 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.2151, allocations: 77.11 kB / 0.7872 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.2151, allocations: 7.875 kB / 0.7872 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-06/0.2152, allocations: 4 kB / 0.7872 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.2152, allocations: 0 / 0.7872 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.2152, allocations: 0 / 0.7872 GB, free: 100 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.2152, allocations: 79.31 kB / 0.7872 GB, free: 20 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2152, allocations: 0 / 0.7872 GB, free: 20 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001894/0.2154, allocations: 16.02 kB / 0.7873 GB, free: 4 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.3753/0.5907, allocations: 112.8 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.5908, allocations: 6.5 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5908, allocations: 2.625 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-06/0.5908, allocations: 0 / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.591, allocations: 3.281 kB / 0.7874 GB, free: 49.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.5912, allocations: 100.4 kB / 0.7875 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.531e-05/0.5913, allocations: 0.6728 MB / 0.7881 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.5913, allocations: 10.25 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of SimCode: time 8.41e-07/0.5913, allocations: 0 / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.001778/0.5931, allocations: 469.3 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)