Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.524/1.524, allocations: 223.3 MB / 241 MB, free: 5.23 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 0.9822/0.9822, allocations: 143.2 MB / 435.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004292, allocations: 12 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1993, allocations: 83.41 MB / 0.5985 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001812/0.2011, allocations: 1.186 MB / 0.5997 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.2016, allocations: 148.4 kB / 0.5998 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.426e-05/0.2017, allocations: 3.938 kB / 0.5998 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.2017, allocations: 4 kB / 0.5998 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.2018, allocations: 7.922 kB / 0.5998 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.202, allocations: 19.98 kB / 0.5998 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.2021, allocations: 35.92 kB / 0.5999 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2022, allocations: 23.97 kB / 0.5999 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.2023, allocations: 7.938 kB / 0.5999 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.2023, allocations: 19.86 kB / 0.5999 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.2024, allocations: 8 kB / 0.5999 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-05/0.2025, allocations: 31.97 kB / 0.6 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2025, allocations: 3.938 kB / 0.6 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2025, allocations: 45.56 kB / 0.6 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.2027, allocations: 43.92 kB / 0.6 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2027, allocations: 0 / 0.6 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2027, allocations: 0 / 0.6 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2027, allocations: 0 / 0.6 GB, free: 6.062 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004758/0.2032, allocations: 359.7 kB / 0.6004 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2032, allocations: 12.03 kB / 0.6004 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.2044, allocations: 240.5 kB / 0.6006 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2046, allocations: 172.3 kB / 0.6008 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2046, allocations: 384 / 0.6008 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2046, allocations: 8.375 kB / 0.6008 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006139/0.2052, allocations: 206 kB / 0.601 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2052, allocations: 4.188 kB / 0.601 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2053, allocations: 3.938 kB / 0.601 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2053, allocations: 7.938 kB / 0.601 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.2062, allocations: 315.6 kB / 0.6013 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009849/0.2072, allocations: 461.4 kB / 0.6018 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.2085, allocations: 342.2 kB / 0.6021 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.2089, allocations: 120.7 kB / 0.6022 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.209, allocations: 0 / 0.6022 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.209, allocations: 30.56 kB / 0.6022 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.209, allocations: 0 / 0.6022 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001301/0.2103, allocations: 373.2 kB / 0.6026 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2104, allocations: 51.41 kB / 0.6026 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.2105, allocations: 129.7 kB / 0.6028 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2105, allocations: 25.7 kB / 0.6028 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.2106, allocations: 92.12 kB / 0.6029 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2106, allocations: 7.844 kB / 0.6029 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2106, allocations: 17.72 kB / 0.6029 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2107, allocations: 322.8 kB / 0.6032 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.2112, allocations: 111.9 kB / 0.6033 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/0.2116, allocations: 115.9 kB / 0.6034 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.2123, allocations: 204.6 kB / 0.6036 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2123, allocations: 0 / 0.6036 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008256/0.2132, allocations: 257.4 kB / 0.6039 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2132, allocations: 4 kB / 0.6039 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2132, allocations: 0 / 0.6039 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.2132, allocations: 3.938 kB / 0.6039 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.2135, allocations: 47.94 kB / 0.6039 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2135, allocations: 0 / 0.6039 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2137, allocations: 39.95 kB / 0.6039 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.2138, allocations: 4 kB / 0.604 GB, free: 1.832 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.84e-05/0.2139, allocations: 117.8 kB / 0.6041 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.2139, allocations: 7.906 kB / 0.6041 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.214, allocations: 7.906 kB / 0.6041 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.214, allocations: 4 kB / 0.6041 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.214, allocations: 0 / 0.6041 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.214, allocations: 0 / 0.6041 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.2142, allocations: 209.5 kB / 0.6043 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2142, allocations: 4 kB / 0.6043 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.2145, allocations: 43.94 kB / 0.6043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2145, allocations: 0 / 0.6043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2145, allocations: 4 kB / 0.6043 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2145, allocations: 0 / 0.6043 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2145, allocations: 0 / 0.6043 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.2154, allocations: 355.2 kB / 0.6047 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.2155, allocations: 85.02 kB / 0.6048 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.2155, allocations: 7.938 kB / 0.6048 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.2157, allocations: 39.95 kB / 0.6048 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2158, allocations: 3.984 kB / 0.6048 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.2158, allocations: 0 / 0.6048 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.2159, allocations: 99.58 kB / 0.6049 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2159, allocations: 0 / 0.6049 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.2161, allocations: 16 kB / 0.6049 GB, free: 0.7461 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 (3): * Single equations (assignments): 3 * 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.0001294/0.2163, allocations: 103.2 kB / 0.605 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008446/0.2171, allocations: 235.7 kB / 0.6052 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2171, allocations: 3.938 kB / 0.6052 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.2175, allocations: 116.3 kB / 0.6054 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.2178, allocations: 13.81 kB / 0.6054 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2448/0.4626, allocations: 313.4 kB / 0.6057 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.4628, allocations: 0.69 MB / 0.6063 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.4629, allocations: 10.75 kB / 0.6063 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.4629, allocations: 0 / 0.6063 GB, free: 40.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.002273/0.4652, allocations: 1.159 MB / 0.6075 GB, free: 40.7 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)