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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.0009478/0.0009479, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009411/0.0009414, allocations: 177.3 kB / 15.94 MB, free: 220 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.336/1.336, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9899/0.9899, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.0005048, allocations: 16 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1947, allocations: 83.4 MB / 0.5973 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001633/0.1964, allocations: 1.163 MB / 0.5984 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.1967, allocations: 144.4 kB / 0.5985 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1967, allocations: 4 kB / 0.5986 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.1968, allocations: 3.938 kB / 0.5986 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.1968, allocations: 7.984 kB / 0.5986 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.197, allocations: 15.98 kB / 0.5986 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.004e-05/0.1971, allocations: 27.91 kB / 0.5986 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1973, allocations: 19.98 kB / 0.5986 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.1973, allocations: 7.984 kB / 0.5986 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.1973, allocations: 19.86 kB / 0.5986 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1974, allocations: 4 kB / 0.5987 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.1975, allocations: 31.91 kB / 0.5987 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1975, allocations: 7.984 kB / 0.5987 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.1975, allocations: 29.7 kB / 0.5987 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.614e-05/0.1976, allocations: 43.92 kB / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1976, allocations: 0 / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1976, allocations: 0 / 0.5988 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1976, allocations: 4 kB / 0.5988 GB, free: 6.328 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.0004429/0.1981, allocations: 359.5 kB / 0.5991 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1981, allocations: 8.031 kB / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.1992, allocations: 243.5 kB / 0.5993 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1994, allocations: 175 kB / 0.5995 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1994, allocations: 7.984 kB / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1994, allocations: 4 kB / 0.5995 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.2, allocations: 213.4 kB / 0.5997 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.2, allocations: 0 / 0.5997 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.2001, allocations: 4 kB / 0.5997 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2001, allocations: 0 / 0.5997 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008748/0.201, allocations: 315.6 kB / 0.6 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.2019, allocations: 449.4 kB / 0.6005 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.203, allocations: 338.3 kB / 0.6008 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.203, allocations: 8.062 kB / 0.6008 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2031, allocations: 46.53 kB / 0.6008 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.2031, allocations: 3.938 kB / 0.6008 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001195/0.2043, allocations: 365.2 kB / 0.6012 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2043, allocations: 51.41 kB / 0.6012 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.2044, allocations: 122 kB / 0.6014 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.2045, allocations: 29.64 kB / 0.6014 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.2045, allocations: 84.14 kB / 0.6015 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.2046, allocations: 15.83 kB / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.2046, allocations: 0 / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2047, allocations: 314.8 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.205, allocations: 111.9 kB / 0.6019 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.2054, allocations: 119.8 kB / 0.602 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.2058, allocations: 103.9 kB / 0.6021 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2058, allocations: 0 / 0.6021 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007701/0.2066, allocations: 257.4 kB / 0.6023 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2066, allocations: 8 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2066, allocations: 3.953 kB / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2066, allocations: 0 / 0.6024 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.2069, allocations: 39.95 kB / 0.6024 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.2069, allocations: 4 kB / 0.6024 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2071, allocations: 35.94 kB / 0.6024 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2071, allocations: 8 kB / 0.6024 GB, free: 2.344 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 9.219e-05/0.2072, allocations: 109.8 kB / 0.6025 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.2072, allocations: 0 / 0.6025 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.2073, allocations: 19.89 kB / 0.6026 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2073, allocations: 3.953 kB / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2073, allocations: 0 / 0.6026 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2073, allocations: 4 kB / 0.6026 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2076, allocations: 213.4 kB / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2076, allocations: 0 / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.2078, allocations: 43.95 kB / 0.6028 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2078, allocations: 4.312 kB / 0.6028 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2078, allocations: 8 kB / 0.6028 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2079, allocations: 4.328 kB / 0.6028 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2079, allocations: 0 / 0.6028 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.2087, allocations: 347.3 kB / 0.6032 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2087, allocations: 81.02 kB / 0.6032 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.2088, allocations: 7.938 kB / 0.6032 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.209, allocations: 43.94 kB / 0.6033 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.209, allocations: 11.89 kB / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2091, allocations: 0 / 0.6033 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.2091, allocations: 99.2 kB / 0.6034 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2091, allocations: 0 / 0.6034 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002352/0.2094, allocations: 12 kB / 0.6034 GB, free: 1.25 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.0001142/0.2095, allocations: 95.25 kB / 0.6035 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007716/0.2103, allocations: 235.7 kB / 0.6037 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2103, allocations: 0 / 0.6037 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.2107, allocations: 119.9 kB / 0.6038 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2108, allocations: 0 / 0.6038 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.2118, allocations: 304.4 kB / 0.6041 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2369/0.4487, allocations: 0.6883 MB / 0.6048 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000117/0.4489, allocations: 19.81 kB / 0.6048 GB, free: 40.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.4489, allocations: 12.33 kB / 0.6048 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.4489, allocations: 0 / 0.6048 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002536/0.4515, allocations: 0.7957 MB / 0.6056 GB, free: 40.88 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: