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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.0008781/0.000878, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4996/0.4996, allocations: 90.92 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008051/0.0008051, allocations: 83.97 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.17e-05, allocations: 8 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4612/0.5848, allocations: 102.6 MB / 0.6537 GB, free: 7.625 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5851, allocations: 72.39 kB / 0.6538 GB, free: 7.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.5995, allocations: 5.087 MB / 0.6588 GB, free: 3.34 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5996, allocations: 0 / 0.6588 GB, free: 3.34 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.5996, allocations: 0 / 0.6588 GB, free: 3.34 MB / 458.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.0004327/0.6, allocations: 414.3 kB / 0.6592 GB, free: 2.898 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6001, allocations: 12.03 kB / 0.6592 GB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006504/0.6007, allocations: 111.8 kB / 0.6593 GB, free: 2.777 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.6009, allocations: 186.3 kB / 0.6595 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/0.601, allocations: 67.39 kB / 0.6595 GB, free: 2.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.601, allocations: 4 kB / 0.6595 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/0.6012, allocations: 72.11 kB / 0.6596 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.6013, allocations: 109.6 kB / 0.6597 GB, free: 2.344 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6014, allocations: 11.92 kB / 0.6597 GB, free: 2.332 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.6014, allocations: 0.75 kB / 0.6597 GB, free: 2.332 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6014, allocations: 0 / 0.6597 GB, free: 2.332 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.6024, allocations: 474.6 kB / 0.6602 GB, free: 1.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.603, allocations: 166.2 kB / 0.6603 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.239e-05/0.6031, allocations: 35.73 kB / 0.6604 GB, free: 1.711 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.6031, allocations: 15.91 kB / 0.6604 GB, free: 1.695 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.6031, allocations: 33.19 kB / 0.6604 GB, free: 1.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6031, allocations: 0 / 0.6604 GB, free: 1.656 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002305/0.6034, allocations: 102.2 kB / 0.6605 GB, free: 1.574 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.6034, allocations: 59.39 kB / 0.6606 GB, free: 1.504 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.6035, allocations: 128.1 kB / 0.6607 GB, free: 1.383 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.6036, allocations: 25.7 kB / 0.6607 GB, free: 1.352 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.6036, allocations: 105.1 kB / 0.6608 GB, free: 1.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.6036, allocations: 21.97 kB / 0.6608 GB, free: 1.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.6037, allocations: 0 / 0.6608 GB, free: 1.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.6038, allocations: 321.1 kB / 0.6611 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.6038, allocations: 32.56 kB / 0.6612 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.6039, allocations: 58.38 kB / 0.6612 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.032e-05/0.604, allocations: 25.42 kB / 0.6612 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.604, allocations: 0 / 0.6612 GB, free: 0.8281 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/0.6041, allocations: 122 kB / 0.6614 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6042, allocations: 4 kB / 0.6614 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6042, allocations: 0 / 0.6614 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6042, allocations: 4 kB / 0.6614 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.6045, allocations: 44.02 kB / 0.6614 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6045, allocations: 4 kB / 0.6614 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.6047, allocations: 31.92 kB / 0.6614 GB, free: 0.6445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.6047, allocations: 7.984 kB / 0.6615 GB, free: 0.6367 MB / 458.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 () * 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 7.159e-05/0.6048, allocations: 108.9 kB / 0.6616 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.6048, allocations: 7.906 kB / 0.6616 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.605, allocations: 116 kB / 0.6617 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.605, allocations: 0 / 0.6617 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.605, allocations: 0 / 0.6617 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.605, allocations: 0 / 0.6617 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.6052, allocations: 226.4 kB / 0.6619 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.6053, allocations: 0 / 0.6619 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.6055, allocations: 39.95 kB / 0.6619 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6055, allocations: 0 / 0.6619 GB, free: 156 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.6055, allocations: 4 kB / 0.6619 GB, free: 152 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6055, allocations: 3.938 kB / 0.6619 GB, free: 148 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6055, allocations: 3.938 kB / 0.6619 GB, free: 144 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.6057, allocations: 203.2 kB / 0.6621 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.95e-05/0.6058, allocations: 85.02 kB / 0.6622 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.6058, allocations: 3.984 kB / 0.6622 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.6061, allocations: 43.95 kB / 0.6623 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.6062, allocations: 7.5 kB / 0.6623 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.6062, allocations: 11.98 kB / 0.6623 GB, free: 15.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.6063, allocations: 100.1 kB / 0.6624 GB, free: 15.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6063, allocations: 0 / 0.6624 GB, free: 15.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.6065, allocations: 23.95 kB / 0.6624 GB, free: 15.68 MB / 474.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 (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.0001128/0.6066, allocations: 101.1 kB / 0.6625 GB, free: 15.57 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.6068, allocations: 84.98 kB / 0.6626 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6068, allocations: 0 / 0.6626 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.881e-05/0.6069, allocations: 39.67 kB / 0.6626 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.6071, allocations: 4 kB / 0.6626 GB, free: 15.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.6074, allocations: 139.8 kB / 0.6628 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.6076, allocations: 0.7081 MB / 0.6634 GB, free: 14.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.6077, allocations: 16.17 kB / 0.6635 GB, free: 14.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.6077, allocations: 19.42 kB / 0.6635 GB, free: 14.57 MB / 474.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6077, allocations: 0 / 0.6635 GB, free: 14.57 MB / 474.7 MB Notification: Performance of Templates: time 0.002949/0.6107, allocations: 1.242 MB / 0.6647 GB, free: 13.35 MB / 474.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)