Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8621/0.8621, allocations: 128.7 MB / 144.5 MB, free: 1.406 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00133/0.00133, allocations: 184 kB / 174.2 MB, free: 5.941 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.519/1.519, allocations: 205.1 MB / 408.9 MB, free: 9.715 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.001058/0.001058, allocations: 106 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 58.45 kB / 0.558 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1876, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.00265/0.1903, allocations: 1.517 MB / 0.6332 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.1912, allocations: 0.6092 MB / 0.6338 GB, free: 30.9 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.1912, allocations: 0 / 0.6338 GB, free: 30.9 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.1913, allocations: 3.938 kB / 0.6338 GB, free: 30.9 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.1914, allocations: 15.86 kB / 0.6338 GB, free: 30.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1916, allocations: 31.97 kB / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.1917, allocations: 35.84 kB / 0.6338 GB, free: 30.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1918, allocations: 8 kB / 0.6338 GB, free: 30.81 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.1919, allocations: 7.938 kB / 0.6339 GB, free: 30.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.192, allocations: 15.92 kB / 0.6339 GB, free: 30.79 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.192, allocations: 4 kB / 0.6339 GB, free: 30.78 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1921, allocations: 55.88 kB / 0.6339 GB, free: 30.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1921, allocations: 4 kB / 0.6339 GB, free: 30.72 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.1922, allocations: 11.94 kB / 0.6339 GB, free: 30.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1923, allocations: 67.84 kB / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1923, allocations: 0 / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1923, allocations: 0 / 0.634 GB, free: 30.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1923, allocations: 0 / 0.634 GB, free: 30.64 MB / 442.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.0003934/0.1927, allocations: 343.7 kB / 0.6343 GB, free: 30.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1928, allocations: 12.03 kB / 0.6343 GB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1928, allocations: 4.938 kB / 0.6343 GB, free: 30.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1929, allocations: 180.2 kB / 0.6345 GB, free: 30.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1929, allocations: 384 / 0.6345 GB, free: 30.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.1929, allocations: 384 / 0.6345 GB, free: 30.03 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.1931, allocations: 49.94 kB / 0.6346 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1931, allocations: 0 / 0.6346 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.1931, allocations: 0 / 0.6346 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1931, allocations: 0 / 0.6346 GB, free: 29.98 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.1932, allocations: 19.98 kB / 0.6346 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.1935, allocations: 260.9 kB / 0.6348 GB, free: 29.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.1936, allocations: 30.56 kB / 0.6349 GB, free: 29.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.1937, allocations: 16.86 kB / 0.6349 GB, free: 29.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006546/0.1943, allocations: 481.4 kB / 0.6353 GB, free: 29.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1944, allocations: 30.56 kB / 0.6354 GB, free: 28.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1944, allocations: 0 / 0.6354 GB, free: 28.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002296/0.1946, allocations: 65.58 kB / 0.6354 GB, free: 28.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.1946, allocations: 55.41 kB / 0.6355 GB, free: 28.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.1947, allocations: 110 kB / 0.6356 GB, free: 28.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.1947, allocations: 29.7 kB / 0.6356 GB, free: 28.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.1948, allocations: 84.14 kB / 0.6357 GB, free: 28.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1948, allocations: 11.84 kB / 0.6357 GB, free: 28.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1948, allocations: 13.7 kB / 0.6357 GB, free: 28.59 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.1949, allocations: 318.8 kB / 0.636 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.1949, allocations: 11.92 kB / 0.636 GB, free: 28.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.195, allocations: 12 kB / 0.6361 GB, free: 28.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.65e-05/0.195, allocations: 32.84 kB / 0.6361 GB, free: 28.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.195, allocations: 0 / 0.6361 GB, free: 28.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.77e-05/0.1951, allocations: 49.69 kB / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1952, allocations: 4 kB / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1952, allocations: 0 / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1952, allocations: 0 / 0.6361 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.305e-05/0.1953, allocations: 11.98 kB / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1953, allocations: 0 / 0.6361 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.1953, allocations: 11.91 kB / 0.6362 GB, free: 28.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1953, allocations: 0 / 0.6362 GB, free: 28.12 MB / 442.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.1954, allocations: 117.8 kB / 0.6363 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1954, allocations: 7.891 kB / 0.6363 GB, free: 27.99 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1956, allocations: 61.16 kB / 0.6363 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1956, allocations: 7.984 kB / 0.6363 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1956, allocations: 0 / 0.6363 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1956, allocations: 4.031 kB / 0.6363 GB, free: 27.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.1957, allocations: 157.6 kB / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1957, allocations: 0 / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1958, allocations: 11.98 kB / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1958, allocations: 0 / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.1958, allocations: 0 / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1958, allocations: 0 / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1958, allocations: 4 kB / 0.6365 GB, free: 27.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1962, allocations: 0.72 MB / 0.6372 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.1962, allocations: 85.02 kB / 0.6373 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1962, allocations: 0 / 0.6373 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.1963, allocations: 0 / 0.6373 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1963, allocations: 11.92 kB / 0.6373 GB, free: 26.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1963, allocations: 0 / 0.6373 GB, free: 26.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.1964, allocations: 87.28 kB / 0.6374 GB, free: 26.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1964, allocations: 4.031 kB / 0.6374 GB, free: 26.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.1967, allocations: 19.98 kB / 0.6374 GB, free: 26.7 MB / 442.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 () * Number of clocked 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 (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.0002186/0.1969, allocations: 103.2 kB / 0.6375 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1971, allocations: 19.98 kB / 0.6375 GB, free: 26.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1971, allocations: 0 / 0.6375 GB, free: 26.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.1971, allocations: 15.98 kB / 0.6375 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1974, allocations: 8.125 kB / 0.6376 GB, free: 26.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.1978, allocations: 239.2 kB / 0.6378 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.198, allocations: 0.6809 MB / 0.6384 GB, free: 25.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.632e-05/0.198, allocations: 0 / 0.6384 GB, free: 25.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.198, allocations: 11.44 kB / 0.6385 GB, free: 25.55 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1981, allocations: 4 kB / 0.6385 GB, free: 25.55 MB / 442.7 MB Notification: Performance of Templates: time 0.002928/0.201, allocations: 0.6595 MB / 0.6391 GB, free: 24.89 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)