Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009758/0.009758, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.021/1.021, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003723, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1907, allocations: 83.42 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002072/0.1928, allocations: 1.48 MB / 0.5993 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.194, allocations: 0.64 MB / 0.5999 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.194, allocations: 0 / 0.5999 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1941, allocations: 11.92 kB / 0.5999 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.237e-05/0.1942, allocations: 15.86 kB / 0.5999 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.1947, allocations: 155.9 kB / 0.6001 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.1949, allocations: 115.7 kB / 0.6002 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1951, allocations: 41.09 kB / 0.6002 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1952, allocations: 55.78 kB / 0.6003 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.1953, allocations: 43.77 kB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1953, allocations: 4 kB / 0.6003 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1955, allocations: 35.97 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.1955, allocations: 23.89 kB / 0.6004 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.1956, allocations: 77.38 kB / 0.6005 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1958, allocations: 135.8 kB / 0.6006 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1958, allocations: 4 kB / 0.6006 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1958, allocations: 0 / 0.6006 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1958, allocations: 0 / 0.6006 GB, free: 4.797 MB / 0.4981 GB 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.0005849/0.1964, allocations: 411.1 kB / 0.601 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1964, allocations: 12.03 kB / 0.601 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.1973, allocations: 148.6 kB / 0.6011 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1975, allocations: 184.1 kB / 0.6013 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.1976, allocations: 59.97 kB / 0.6014 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1976, allocations: 12.38 kB / 0.6014 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.1982, allocations: 193.6 kB / 0.6016 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1982, allocations: 0 / 0.6016 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1982, allocations: 4 kB / 0.6016 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1982, allocations: 4 kB / 0.6016 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.1989, allocations: 199.7 kB / 0.6018 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2001, allocations: 0.4938 MB / 0.6023 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2012, allocations: 266.3 kB / 0.6025 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.2015, allocations: 96.91 kB / 0.6026 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2016, allocations: 11.97 kB / 0.6026 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.2016, allocations: 38.5 kB / 0.6027 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.2016, allocations: 0 / 0.6027 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001108/0.2027, allocations: 317.5 kB / 0.603 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2028, allocations: 55.41 kB / 0.603 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2029, allocations: 140.5 kB / 0.6031 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.203, allocations: 25.7 kB / 0.6032 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.203, allocations: 108.2 kB / 0.6033 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.2031, allocations: 23.66 kB / 0.6033 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.2031, allocations: 17.7 kB / 0.6033 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2032, allocations: 318.8 kB / 0.6036 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.2036, allocations: 95.91 kB / 0.6037 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.2039, allocations: 106.5 kB / 0.6038 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.2046, allocations: 202.4 kB / 0.604 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2046, allocations: 3.938 kB / 0.604 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007478/0.2054, allocations: 245.6 kB / 0.6042 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2054, allocations: 4 kB / 0.6042 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2054, allocations: 0 / 0.6042 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2054, allocations: 7.938 kB / 0.6042 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2057, allocations: 51.88 kB / 0.6043 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.2057, allocations: 4 kB / 0.6043 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2059, allocations: 31.97 kB / 0.6043 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.206, allocations: 4 kB / 0.6043 GB, free: 0.7188 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.2061, allocations: 117.8 kB / 0.6044 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.2061, allocations: 11.91 kB / 0.6045 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007843/0.2069, allocations: 242.2 kB / 0.6047 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2069, allocations: 3.938 kB / 0.6047 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2069, allocations: 0 / 0.6047 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2069, allocations: 0 / 0.6047 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.2072, allocations: 234.3 kB / 0.6049 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2072, allocations: 0 / 0.6049 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.2074, allocations: 47.95 kB / 0.605 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2074, allocations: 3.984 kB / 0.605 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3449/0.5523, allocations: 4.734 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/0.5524, allocations: 0 / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5524, allocations: 1.531 kB / 0.605 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.5534, allocations: 311.5 kB / 0.6053 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.5534, allocations: 85.17 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.5534, allocations: 8.234 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.5538, allocations: 44.53 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.5538, allocations: 7 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.5539, allocations: 9.219 kB / 0.6054 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.152e-05/0.554, allocations: 108 kB / 0.6055 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.554, allocations: 0 / 0.6055 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002826/0.5542, allocations: 24.22 kB / 0.6055 GB, free: 40.9 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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.0001336/0.5544, allocations: 101.1 kB / 0.6056 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006983/0.5551, allocations: 204.4 kB / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5551, allocations: 0 / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.5554, allocations: 100.9 kB / 0.6059 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.5558, allocations: 8.953 kB / 0.6059 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.5564, allocations: 313.4 kB / 0.6062 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.5565, allocations: 0.7022 MB / 0.6069 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.802e-05/0.5566, allocations: 12.69 kB / 0.6069 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.5567, allocations: 20.3 kB / 0.607 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.5567, allocations: 0.75 kB / 0.607 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003372/0.5601, allocations: 1.352 MB / 0.6083 GB, free: 39.89 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)