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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7128/0.7128, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 187.5 kB / 169.7 MB, free: 1.75 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 404.5 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 98.08 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.666e-05, allocations: 4 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 76.75 MB / 0.6281 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5368/0.701, allocations: 102.7 MB / 0.7284 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.7013, allocations: 73.02 kB / 0.7285 GB, free: 10.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003275/0.7046, allocations: 1.176 MB / 0.7297 GB, free: 9.566 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7046, allocations: 0 / 0.7297 GB, free: 9.566 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.7046, allocations: 0 / 0.7297 GB, free: 9.566 MB / 490.7 MB 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.0003488/0.705, allocations: 353 kB / 0.73 GB, free: 9.184 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.705, allocations: 8.031 kB / 0.73 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008459/0.7059, allocations: 192.2 kB / 0.7302 GB, free: 8.988 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.706, allocations: 171.7 kB / 0.7304 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.706, allocations: 3.688 kB / 0.7304 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.7061, allocations: 4 kB / 0.7304 GB, free: 8.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.7063, allocations: 111 kB / 0.7305 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7063, allocations: 0 / 0.7305 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.7063, allocations: 4 kB / 0.7305 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.7063, allocations: 0 / 0.7305 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.7065, allocations: 115.1 kB / 0.7306 GB, free: 8.602 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008858/0.7074, allocations: 459.8 kB / 0.731 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.7078, allocations: 165.3 kB / 0.7312 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.7079, allocations: 48.17 kB / 0.7312 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.7079, allocations: 3.984 kB / 0.7312 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.708, allocations: 37.75 kB / 0.7313 GB, free: 7.918 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.708, allocations: 0 / 0.7313 GB, free: 7.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002479/0.7082, allocations: 110.5 kB / 0.7314 GB, free: 7.824 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.7083, allocations: 51.41 kB / 0.7314 GB, free: 7.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.7084, allocations: 119.8 kB / 0.7315 GB, free: 7.641 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.7084, allocations: 25.7 kB / 0.7316 GB, free: 7.609 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.7084, allocations: 83.58 kB / 0.7316 GB, free: 7.527 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.7085, allocations: 11.34 kB / 0.7316 GB, free: 7.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.7085, allocations: 0 / 0.7316 GB, free: 7.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7086, allocations: 314.8 kB / 0.7319 GB, free: 7.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.7087, allocations: 47.94 kB / 0.732 GB, free: 7.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.7087, allocations: 46.12 kB / 0.732 GB, free: 7.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.036e-05/0.7088, allocations: 31.8 kB / 0.7321 GB, free: 7.117 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7088, allocations: 0 / 0.7321 GB, free: 7.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001715/0.709, allocations: 123.8 kB / 0.7322 GB, free: 7.012 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.709, allocations: 4 kB / 0.7322 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.709, allocations: 3.938 kB / 0.7322 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.709, allocations: 0 / 0.7322 GB, free: 7.004 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.7093, allocations: 39.95 kB / 0.7322 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.7093, allocations: 8.797 kB / 0.7322 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.7095, allocations: 42.64 kB / 0.7323 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7096, allocations: 3.984 kB / 0.7323 GB, free: 6.914 MB / 490.7 MB 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 () * 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 6.41e-05/0.7096, allocations: 105 kB / 0.7324 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.7097, allocations: 7.859 kB / 0.7324 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.389e-05/0.7097, allocations: 15.03 kB / 0.7324 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7097, allocations: 0 / 0.7324 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.7097, allocations: 0 / 0.7324 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7098, allocations: 0 / 0.7324 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.7099, allocations: 208.9 kB / 0.7326 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.71, allocations: 0 / 0.7326 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.7102, allocations: 51.88 kB / 0.7327 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.7102, allocations: 3.953 kB / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.7102, allocations: 0 / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7102, allocations: 0 / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7102, allocations: 0 / 0.7327 GB, free: 6.492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.7105, allocations: 206.2 kB / 0.7329 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.7105, allocations: 85.02 kB / 0.7329 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.7105, allocations: 3.953 kB / 0.7329 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.7108, allocations: 39.95 kB / 0.733 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.7108, allocations: 7.5 kB / 0.733 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.7108, allocations: 3.984 kB / 0.733 GB, free: 6.148 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.954e-05/0.7109, allocations: 90.09 kB / 0.7331 GB, free: 6.062 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7109, allocations: 0 / 0.7331 GB, free: 6.062 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.7111, allocations: 18.81 kB / 0.7331 GB, free: 6.047 MB / 490.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 (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.0001224/0.7112, allocations: 103 kB / 0.7332 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.7114, allocations: 93.86 kB / 0.7333 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7114, allocations: 0 / 0.7333 GB, free: 5.871 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.7115, allocations: 42.72 kB / 0.7333 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.7117, allocations: 7.875 kB / 0.7333 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.7122, allocations: 182.6 kB / 0.7335 GB, free: 5.652 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.7125, allocations: 0.6926 MB / 0.7342 GB, free: 4.934 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.516e-05/0.7126, allocations: 23.98 kB / 0.7342 GB, free: 4.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.7126, allocations: 7.438 kB / 0.7342 GB, free: 4.902 MB / 490.7 MB Notification: Performance of SimCode: time 3.6e-07/0.7126, allocations: 3.938 kB / 0.7342 GB, free: 4.898 MB / 490.7 MB Notification: Performance of Templates: time 0.002557/0.7152, allocations: 0.8166 MB / 0.735 GB, free: 4.094 MB / 490.7 MB 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)