Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7387/0.7387, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001071/0.001071, allocations: 192.7 kB / 169.7 MB, free: 1.727 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.849/1.849, 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.0008339/0.000834, allocations: 93.97 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/3.994e-05, allocations: 11.98 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1418, allocations: 76.75 MB / 0.6282 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.6047, allocations: 102.6 MB / 0.7283 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.6049, allocations: 77.45 kB / 0.7284 GB, free: 10.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003756/0.6087, allocations: 1.401 MB / 0.7298 GB, free: 9.551 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6087, allocations: 0 / 0.7298 GB, free: 9.551 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.6087, allocations: 0 / 0.7298 GB, free: 9.551 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002949/0.609, allocations: 342.4 kB / 0.7301 GB, free: 9.176 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6091, allocations: 8.031 kB / 0.7301 GB, free: 9.168 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.6091, allocations: 3.953 kB / 0.7301 GB, free: 9.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.942e-05/0.6092, allocations: 171.6 kB / 0.7303 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.6092, allocations: 4 kB / 0.7303 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.6092, allocations: 0 / 0.7303 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.818e-05/0.6093, allocations: 37.2 kB / 0.7303 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.6094, allocations: 0 / 0.7303 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.6094, allocations: 0 / 0.7303 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6094, allocations: 0 / 0.7303 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.221e-05/0.6094, allocations: 14.94 kB / 0.7303 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.6098, allocations: 277.9 kB / 0.7306 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.455e-05/0.6099, allocations: 26.45 kB / 0.7306 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.6099, allocations: 14.14 kB / 0.7306 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.1e-05/0.61, allocations: 81.09 kB / 0.7307 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.61, allocations: 37.81 kB / 0.7307 GB, free: 8.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.61, allocations: 0 / 0.7307 GB, free: 8.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.6102, allocations: 49.47 kB / 0.7308 GB, free: 8.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.6102, allocations: 51.41 kB / 0.7308 GB, free: 8.297 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.6103, allocations: 100.7 kB / 0.7309 GB, free: 8.195 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.6103, allocations: 29.7 kB / 0.731 GB, free: 8.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.6104, allocations: 80.14 kB / 0.731 GB, free: 8.078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.6104, allocations: 3.906 kB / 0.731 GB, free: 8.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6104, allocations: 0 / 0.731 GB, free: 8.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6105, allocations: 314.3 kB / 0.7313 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.6105, allocations: 8.031 kB / 0.7313 GB, free: 7.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.6105, allocations: 6.688 kB / 0.7313 GB, free: 7.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.6106, allocations: 7.312 kB / 0.7314 GB, free: 7.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6106, allocations: 0 / 0.7314 GB, free: 7.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.866e-05/0.6107, allocations: 48.25 kB / 0.7314 GB, free: 7.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6107, allocations: 7.938 kB / 0.7314 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.6107, allocations: 0 / 0.7314 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.6107, allocations: 0 / 0.7314 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.6108, allocations: 16.08 kB / 0.7314 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6108, allocations: 3.953 kB / 0.7314 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.6109, allocations: 8 kB / 0.7314 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.6109, allocations: 3.984 kB / 0.7314 GB, free: 7.656 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 (2): * Single equations (assignments): 2 * 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 5.097e-05/0.611, allocations: 101 kB / 0.7315 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.611, allocations: 11.09 kB / 0.7315 GB, free: 7.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.6111, allocations: 52.06 kB / 0.7316 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.6111, allocations: 0 / 0.7316 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6111, allocations: 4 kB / 0.7316 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6111, allocations: 3.953 kB / 0.7316 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6113, allocations: 160.8 kB / 0.7318 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6113, allocations: 0 / 0.7318 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.219e-05/0.6113, allocations: 12.86 kB / 0.7318 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6114, allocations: 0 / 0.7318 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.6114, allocations: 0 / 0.7318 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6114, allocations: 4 kB / 0.7318 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6114, allocations: 4.031 kB / 0.7318 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.6115, allocations: 139.4 kB / 0.7319 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.6115, allocations: 77.11 kB / 0.732 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.6115, allocations: 256 / 0.732 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.6116, allocations: 19.11 kB / 0.732 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.6117, allocations: 7.922 kB / 0.732 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6117, allocations: 4.031 kB / 0.732 GB, free: 6.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.6117, allocations: 82.84 kB / 0.7321 GB, free: 6.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6117, allocations: 0 / 0.7321 GB, free: 6.918 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000256/0.612, allocations: 23.92 kB / 0.7321 GB, free: 6.895 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 (2): * Single equations (assignments): 2 * 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.0001615/0.6122, allocations: 111 kB / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.38e-05/0.6122, allocations: 11.81 kB / 0.7322 GB, free: 6.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6123, allocations: 3.938 kB / 0.7322 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.6123, allocations: 11.12 kB / 0.7322 GB, free: 6.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.6124, allocations: 10.36 kB / 0.7323 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.6126, allocations: 68.42 kB / 0.7323 GB, free: 6.664 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.6129, allocations: 0.6809 MB / 0.733 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.871e-05/0.6129, allocations: 4.609 kB / 0.733 GB, free: 5.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.6129, allocations: 7.438 kB / 0.733 GB, free: 5.945 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6129, allocations: 0 / 0.733 GB, free: 5.945 MB / 490.7 MB Notification: Performance of Templates: time 0.002229/0.6152, allocations: 486 kB / 0.7335 GB, free: 5.48 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)