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.00126/0.00126, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4969/0.4969, allocations: 92 MB / 108.5 MB, free: 13.06 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.653/1.653, allocations: 223.2 MB / 354.3 MB, free: 10.37 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.001259/0.001259, allocations: 104.2 kB / 427.4 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 11.98 kB / 0.4983 GB, free: 42.09 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 72.3 MB / 0.5689 GB, free: 1.727 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.5853, allocations: 103.3 MB / 0.6698 GB, free: 1.129 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5856, allocations: 75.95 kB / 0.6698 GB, free: 1.055 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02213/0.6077, allocations: 5.115 MB / 0.6748 GB, free: 11.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6078, allocations: 0 / 0.6748 GB, free: 11.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.6078, allocations: 12 kB / 0.6749 GB, free: 11.93 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.0008591/0.6087, allocations: 427.4 kB / 0.6753 GB, free: 11.47 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.6087, allocations: 12.02 kB / 0.6753 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6099, allocations: 111.7 kB / 0.6754 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.6102, allocations: 190.8 kB / 0.6756 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.6104, allocations: 67.41 kB / 0.6756 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.6104, allocations: 8 kB / 0.6756 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009953/0.6114, allocations: 189.5 kB / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6115, allocations: 0 / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.6115, allocations: 4 kB / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.6115, allocations: 4 kB / 0.6758 GB, free: 10.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6128, allocations: 195.8 kB / 0.676 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.6147, allocations: 0.4977 MB / 0.6765 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.6167, allocations: 270.3 kB / 0.6768 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.6168, allocations: 7.922 kB / 0.6768 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.6168, allocations: 34.56 kB / 0.6768 GB, free: 9.77 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.6168, allocations: 0 / 0.6768 GB, free: 9.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.001895/0.6187, allocations: 313.6 kB / 0.6771 GB, free: 9.457 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.6188, allocations: 55.36 kB / 0.6771 GB, free: 9.391 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.619, allocations: 127.4 kB / 0.6773 GB, free: 9.262 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.619, allocations: 29.7 kB / 0.6773 GB, free: 9.227 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.6192, allocations: 116.1 kB / 0.6774 GB, free: 9.105 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.6192, allocations: 19.73 kB / 0.6774 GB, free: 9.086 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.6193, allocations: 0 / 0.6774 GB, free: 9.086 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6194, allocations: 318.8 kB / 0.6777 GB, free: 8.766 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.6201, allocations: 91.91 kB / 0.6778 GB, free: 8.676 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.6206, allocations: 110.5 kB / 0.6779 GB, free: 8.559 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.6212, allocations: 91.92 kB / 0.678 GB, free: 8.469 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6212, allocations: 4 kB / 0.678 GB, free: 8.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001276/0.6225, allocations: 233.4 kB / 0.6782 GB, free: 8.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6226, allocations: 8 kB / 0.6782 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.6226, allocations: 0 / 0.6782 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.6226, allocations: 0 / 0.6782 GB, free: 8.223 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00049/0.6231, allocations: 59.84 kB / 0.6783 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6232, allocations: 3.938 kB / 0.6783 GB, free: 8.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.6235, allocations: 35.88 kB / 0.6783 GB, free: 8.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.6236, allocations: 7.984 kB / 0.6783 GB, free: 8.117 MB / 474.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.0001804/0.6238, allocations: 113.8 kB / 0.6785 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.6239, allocations: 7.906 kB / 0.6785 GB, free: 7.988 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6252, allocations: 242.2 kB / 0.6787 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6252, allocations: 4 kB / 0.6787 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6252, allocations: 3.953 kB / 0.6787 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.6252, allocations: 0 / 0.6787 GB, free: 7.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.6257, allocations: 238.4 kB / 0.6789 GB, free: 7.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6257, allocations: 0 / 0.6789 GB, free: 7.453 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/0.6261, allocations: 43.95 kB / 0.679 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6262, allocations: 0 / 0.679 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.6262, allocations: 4.359 kB / 0.679 GB, free: 7.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.6262, allocations: 3.984 kB / 0.679 GB, free: 7.402 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.6262, allocations: 7.953 kB / 0.679 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6275, allocations: 319.3 kB / 0.6793 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/0.6277, allocations: 92.94 kB / 0.6794 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.6277, allocations: 0 / 0.6794 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.6283, allocations: 43.95 kB / 0.6794 GB, free: 6.914 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.6283, allocations: 7.938 kB / 0.6794 GB, free: 6.906 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.6284, allocations: 11.94 kB / 0.6794 GB, free: 6.895 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.6285, allocations: 107.2 kB / 0.6795 GB, free: 6.789 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6285, allocations: 0 / 0.6795 GB, free: 6.789 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.629, allocations: 27.91 kB / 0.6796 GB, free: 6.762 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 () * 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.0002013/0.6292, allocations: 99.25 kB / 0.6797 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.6305, allocations: 199.8 kB / 0.6799 GB, free: 6.461 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6305, allocations: 0 / 0.6799 GB, free: 6.461 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.6311, allocations: 100 kB / 0.6799 GB, free: 6.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.6315, allocations: 9.234 kB / 0.68 GB, free: 6.355 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6325, allocations: 301.9 kB / 0.6802 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.633, allocations: 0.7043 MB / 0.6809 GB, free: 5.301 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.6332, allocations: 16.19 kB / 0.6809 GB, free: 5.281 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.6333, allocations: 11.42 kB / 0.681 GB, free: 5.27 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6333, allocations: 4 kB / 0.681 GB, free: 5.266 MB / 474.7 MB Notification: Performance of Templates: time 0.005894/0.6393, allocations: 1.31 MB / 0.6822 GB, free: 3.977 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)