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.0006938/0.0006939, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007763/0.0007763, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.2 MB / 240 MB, free: 5.328 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.8726/0.8726, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002794, allocations: 8 kB / 0.5158 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 83.42 MB / 0.5972 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00131/0.1343, allocations: 1.171 MB / 0.5984 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.1346, allocations: 136.5 kB / 0.5985 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.1347, allocations: 4 kB / 0.5985 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.1347, allocations: 0 / 0.5985 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.1348, allocations: 15.84 kB / 0.5985 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1349, allocations: 23.98 kB / 0.5986 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.73e-05/0.135, allocations: 35.86 kB / 0.5986 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.1351, allocations: 19.98 kB / 0.5986 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.1352, allocations: 11.92 kB / 0.5986 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.1352, allocations: 23.84 kB / 0.5987 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.1352, allocations: 0 / 0.5987 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.1353, allocations: 27.98 kB / 0.5987 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.1353, allocations: 7.984 kB / 0.5987 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1354, allocations: 29.7 kB / 0.5987 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.36e-05/0.1354, allocations: 47.86 kB / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1354, allocations: 0 / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1355, allocations: 0 / 0.5988 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.1355, allocations: 0 / 0.5988 GB, free: 6.496 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.0003911/0.1359, allocations: 363.5 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1359, allocations: 8.031 kB / 0.5991 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.1368, allocations: 239.5 kB / 0.5993 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1369, allocations: 175 kB / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.137, allocations: 0 / 0.5995 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.137, allocations: 8 kB / 0.5995 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1375, allocations: 205.5 kB / 0.5997 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1375, allocations: 0 / 0.5997 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1375, allocations: 12 kB / 0.5997 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1375, allocations: 3.984 kB / 0.5997 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.1382, allocations: 311.5 kB / 0.6 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.139, allocations: 453.4 kB / 0.6005 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1401, allocations: 338.3 kB / 0.6008 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.1404, allocations: 128.7 kB / 0.6009 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1404, allocations: 4.062 kB / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1405, allocations: 34.52 kB / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1405, allocations: 0 / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0009946/0.1415, allocations: 369.2 kB / 0.6013 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1415, allocations: 51.41 kB / 0.6013 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.1416, allocations: 125.9 kB / 0.6015 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1416, allocations: 25.7 kB / 0.6015 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.1417, allocations: 92.12 kB / 0.6016 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1417, allocations: 7.844 kB / 0.6016 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.1417, allocations: 7.938 kB / 0.6016 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.1418, allocations: 318.8 kB / 0.6019 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.1421, allocations: 119.9 kB / 0.602 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1424, allocations: 107.9 kB / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1427, allocations: 99.89 kB / 0.6022 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1427, allocations: 0 / 0.6022 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006404/0.1434, allocations: 257.4 kB / 0.6025 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1434, allocations: 4 kB / 0.6025 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1434, allocations: 3.953 kB / 0.6025 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1434, allocations: 0 / 0.6025 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1436, allocations: 51.94 kB / 0.6025 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1437, allocations: 0 / 0.6025 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1438, allocations: 39.95 kB / 0.6025 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1438, allocations: 0 / 0.6025 GB, free: 2.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.615e-05/0.1439, allocations: 121.8 kB / 0.6027 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1439, allocations: 4 kB / 0.6027 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.144, allocations: 3.906 kB / 0.6027 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.144, allocations: 7.953 kB / 0.6027 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.144, allocations: 4 kB / 0.6027 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.144, allocations: 0 / 0.6027 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.1442, allocations: 213.5 kB / 0.6029 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1442, allocations: 0 / 0.6029 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1444, allocations: 39.94 kB / 0.6029 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1444, allocations: 4 kB / 0.6029 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1445, allocations: 0 / 0.6029 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1445, allocations: 3.953 kB / 0.6029 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1445, allocations: 0 / 0.6029 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.1451, allocations: 347.6 kB / 0.6033 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1452, allocations: 89 kB / 0.6033 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1452, allocations: 7.938 kB / 0.6034 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1454, allocations: 36 kB / 0.6034 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1454, allocations: 11.88 kB / 0.6034 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1454, allocations: 0 / 0.6034 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.1455, allocations: 99.58 kB / 0.6035 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 4 kB / 0.6035 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002115/0.1457, allocations: 16 kB / 0.6035 GB, free: 1.301 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 (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.0001061/0.1458, allocations: 99.23 kB / 0.6036 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.1465, allocations: 231.8 kB / 0.6038 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1465, allocations: 0 / 0.6038 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1468, allocations: 123.8 kB / 0.6039 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.147, allocations: 4 kB / 0.604 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.1478, allocations: 292.5 kB / 0.6042 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2096/0.3574, allocations: 0.6837 MB / 0.6049 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.3575, allocations: 18.88 kB / 0.6049 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.3576, allocations: 15.05 kB / 0.6049 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.3576, allocations: 0 / 0.6049 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.002293/0.3599, allocations: 0.7962 MB / 0.6057 GB, free: 40.86 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)