Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json 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/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 171.7 kB / 16.76 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4642/0.4642, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000771/0.0007708, allocations: 102.6 kB / 420.2 MB, free: 9.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3663, allocations: 71.02 MB / 0.5594 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.4887, allocations: 102 MB / 0.659 GB, free: 7.539 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.489, allocations: 75.97 kB / 0.6591 GB, free: 7.465 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.5036, allocations: 5.113 MB / 0.6641 GB, free: 2.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5037, allocations: 0 / 0.6641 GB, free: 2.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.5037, allocations: 8 kB / 0.6641 GB, free: 2.332 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005473/0.5043, allocations: 423 kB / 0.6645 GB, free: 1.867 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5043, allocations: 12.03 kB / 0.6645 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006656/0.505, allocations: 124.6 kB / 0.6646 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5051, allocations: 186.2 kB / 0.6648 GB, free: 1.516 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-05/0.5053, allocations: 67.95 kB / 0.6649 GB, free: 1.438 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.5053, allocations: 12.38 kB / 0.6649 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.5058, allocations: 184 kB / 0.6651 GB, free: 1.242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.5058, allocations: 3.938 kB / 0.6651 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.5058, allocations: 4 kB / 0.6651 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5058, allocations: 7.938 kB / 0.6651 GB, free: 1.227 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.5064, allocations: 195.8 kB / 0.6653 GB, free: 1.035 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5075, allocations: 0.494 MB / 0.6657 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.5085, allocations: 270.3 kB / 0.666 GB, free: 220 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.5087, allocations: 96.91 kB / 0.6661 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.5088, allocations: 7.984 kB / 0.6661 GB, free: 112 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.5088, allocations: 38.5 kB / 0.6661 GB, free: 64 kB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.5088, allocations: 0 / 0.6661 GB, free: 64 kB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.000989/0.5098, allocations: 317.5 kB / 0.6664 GB, free: 15.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.5099, allocations: 63.28 kB / 0.6665 GB, free: 15.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.51, allocations: 131.9 kB / 0.6666 GB, free: 15.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.51, allocations: 29.7 kB / 0.6666 GB, free: 15.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.5101, allocations: 108.2 kB / 0.6668 GB, free: 15.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.5101, allocations: 23.64 kB / 0.6668 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.5102, allocations: 4 kB / 0.6668 GB, free: 15.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5103, allocations: 318.8 kB / 0.6671 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.5106, allocations: 91.92 kB / 0.6672 GB, free: 14.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.5108, allocations: 106.5 kB / 0.6673 GB, free: 14.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.5114, allocations: 202.4 kB / 0.6675 GB, free: 14.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5114, allocations: 4 kB / 0.6675 GB, free: 14.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000637/0.5121, allocations: 233.5 kB / 0.6677 GB, free: 14.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.5121, allocations: 7.984 kB / 0.6677 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5121, allocations: 0 / 0.6677 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5121, allocations: 0 / 0.6677 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.5124, allocations: 55.89 kB / 0.6678 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5124, allocations: 160 / 0.6678 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5126, allocations: 27.97 kB / 0.6678 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.5126, allocations: 7.984 kB / 0.6678 GB, free: 14.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.000106/0.5127, allocations: 117.8 kB / 0.6679 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5128, allocations: 15.84 kB / 0.6679 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006655/0.5135, allocations: 238.2 kB / 0.6681 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5135, allocations: 7.938 kB / 0.6681 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5135, allocations: 0 / 0.6681 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5135, allocations: 0 / 0.6681 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.5138, allocations: 246 kB / 0.6684 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5138, allocations: 0 / 0.6684 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.514, allocations: 39.95 kB / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.514, allocations: 4 kB / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5141, allocations: 0 / 0.6684 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.5141, allocations: 8.297 kB / 0.6684 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5141, allocations: 0 / 0.6684 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.5148, allocations: 331.2 kB / 0.6687 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.5148, allocations: 88.95 kB / 0.6688 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5149, allocations: 0 / 0.6688 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.5152, allocations: 47.88 kB / 0.6689 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.5152, allocations: 15.98 kB / 0.6689 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.5153, allocations: 7.984 kB / 0.6689 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.5154, allocations: 99.27 kB / 0.669 GB, free: 12.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5154, allocations: 3.938 kB / 0.669 GB, free: 12.94 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.5156, allocations: 20 kB / 0.669 GB, free: 12.92 MB / 490.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001514/0.5158, allocations: 99.23 kB / 0.6691 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006319/0.5164, allocations: 203.8 kB / 0.6693 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5164, allocations: 0 / 0.6693 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.5167, allocations: 100 kB / 0.6694 GB, free: 12.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.5171, allocations: 11.94 kB / 0.6694 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006542/0.5177, allocations: 301.3 kB / 0.6697 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.518, allocations: 0.7043 MB / 0.6704 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5181, allocations: 16 kB / 0.6704 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.5181, allocations: 15.42 kB / 0.6704 GB, free: 11.42 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5181, allocations: 0 / 0.6704 GB, free: 11.42 MB / 490.7 MB Notification: Performance of Templates: time 0.003555/0.5217, allocations: 1.337 MB / 0.6717 GB, free: 10.1 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)