Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5359/0.5359, allocations: 94.77 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009948/0.0009948, allocations: 174.2 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.557/1.557, allocations: 170.6 MB / 319.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001653/0.001653, allocations: 109.1 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.066e-05, allocations: 4 kB / 449.1 MB, free: 1.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 61.52 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5207/0.6949, allocations: 92.81 MB / 0.5893 GB, free: 9.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.6952, allocations: 79.94 kB / 0.5894 GB, free: 9.059 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009799/0.705, allocations: 3.48 MB / 0.5928 GB, free: 5.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7051, allocations: 0 / 0.5928 GB, free: 5.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.7051, allocations: 0.5 kB / 0.5928 GB, free: 5.648 MB / 410.7 MB 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.0003602/0.7055, allocations: 339.1 kB / 0.5931 GB, free: 5.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.574e-05/0.7055, allocations: 13.66 kB / 0.5931 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.7056, allocations: 0 / 0.5931 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7057, allocations: 159.6 kB / 0.5933 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.7058, allocations: 0 / 0.5933 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.7058, allocations: 2.219 kB / 0.5933 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.455e-05/0.7059, allocations: 2.234 kB / 0.5933 GB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.7059, allocations: 37.62 kB / 0.5933 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.706, allocations: 2.469 kB / 0.5933 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.706, allocations: 0 / 0.5933 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.706, allocations: 3.734 kB / 0.5933 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.7061, allocations: 126.4 kB / 0.5934 GB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.7062, allocations: 23.11 kB / 0.5935 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.7062, allocations: 5.359 kB / 0.5935 GB, free: 4.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.7067, allocations: 427.9 kB / 0.5939 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.7068, allocations: 31.28 kB / 0.5939 GB, free: 4.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.7068, allocations: 0 / 0.5939 GB, free: 4.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.707, allocations: 38.38 kB / 0.5939 GB, free: 4.238 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.707, allocations: 56.53 kB / 0.594 GB, free: 4.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.707, allocations: 88.98 kB / 0.5941 GB, free: 4.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.7071, allocations: 25.7 kB / 0.5941 GB, free: 4.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.7071, allocations: 80.95 kB / 0.5942 GB, free: 3.965 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7071, allocations: 5.219 kB / 0.5942 GB, free: 3.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.7071, allocations: 0 / 0.5942 GB, free: 3.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.7073, allocations: 310.8 kB / 0.5945 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.7073, allocations: 0.75 kB / 0.5945 GB, free: 3.648 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.7073, allocations: 0.8438 kB / 0.5945 GB, free: 3.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.7073, allocations: 4.562 kB / 0.5945 GB, free: 3.645 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7073, allocations: 0.75 kB / 0.5945 GB, free: 3.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.382e-05/0.7074, allocations: 32.7 kB / 0.5945 GB, free: 3.609 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.7074, allocations: 4 kB / 0.5945 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7075, allocations: 4.844 kB / 0.5945 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.7075, allocations: 0 / 0.5945 GB, free: 3.602 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.7075, allocations: 5.453 kB / 0.5945 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.7076, allocations: 0 / 0.5945 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.7076, allocations: 9.297 kB / 0.5945 GB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.7076, allocations: 4 kB / 0.5946 GB, free: 3.586 MB / 410.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.7077, allocations: 101 kB / 0.5946 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.7077, allocations: 1.094 kB / 0.5946 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.961e-05/0.7078, allocations: 44.47 kB / 0.5947 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7078, allocations: 5.047 kB / 0.5947 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7078, allocations: 0 / 0.5947 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7078, allocations: 4 kB / 0.5947 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.623e-05/0.7079, allocations: 130.4 kB / 0.5948 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7079, allocations: 0 / 0.5948 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/0.7079, allocations: 0 / 0.5948 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.708, allocations: 3.938 kB / 0.5948 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.708, allocations: 4.75 kB / 0.5948 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.708, allocations: 0 / 0.5948 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.708, allocations: 0 / 0.5948 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.7081, allocations: 65.02 kB / 0.5949 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.7081, allocations: 85.14 kB / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.7082, allocations: 0 / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.7082, allocations: 3.75 kB / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.7082, allocations: 0 / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.7082, allocations: 0 / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.296e-05/0.7082, allocations: 77.16 kB / 0.5951 GB, free: 2.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7082, allocations: 0 / 0.5951 GB, free: 2.996 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.7084, allocations: 19.98 kB / 0.5951 GB, free: 2.977 MB / 410.7 MB 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 () * 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 (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.0001911/0.7086, allocations: 119.2 kB / 0.5952 GB, free: 2.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.047e-05/0.7087, allocations: 4 kB / 0.5952 GB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7087, allocations: 0 / 0.5952 GB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-06/0.7087, allocations: 3.938 kB / 0.5952 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.962e-05/0.7088, allocations: 7.953 kB / 0.5952 GB, free: 2.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.709, allocations: 40.94 kB / 0.5952 GB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.7093, allocations: 0.6729 MB / 0.5959 GB, free: 2.074 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.827e-05/0.7093, allocations: 4.125 kB / 0.5959 GB, free: 2.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.7093, allocations: 7.438 kB / 0.5959 GB, free: 2.066 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7094, allocations: 4 kB / 0.5959 GB, free: 2.062 MB / 410.7 MB Notification: Performance of Templates: time 0.002356/0.7117, allocations: 406.8 kB / 0.5963 GB, free: 1.695 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)