Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001502/0.001503, allocations: 192.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 295 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9576/0.9576, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 92.47 kB / 0.5945 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.189, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002821/0.1919, allocations: 1.494 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005036/0.1924, allocations: 192.3 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.1925, allocations: 0 / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.898e-05/0.1926, allocations: 3.938 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.1926, allocations: 10.73 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1929, allocations: 31.97 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.193, allocations: 23.86 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.1931, allocations: 8 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.163e-05/0.1931, allocations: 4 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.1932, allocations: 11.92 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1932, allocations: 5.719 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1933, allocations: 31.97 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.1934, allocations: 7.969 kB / 0.6812 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1934, allocations: 7.938 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1936, allocations: 36.77 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1936, allocations: 0 / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1936, allocations: 0 / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1936, allocations: 0.7188 kB / 0.6813 GB, free: 15.33 MB / 494.1 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.0004851/0.1941, allocations: 351.5 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1941, allocations: 8.031 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1942, allocations: 4.938 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1943, allocations: 172.3 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1943, allocations: 5.031 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1943, allocations: 4.375 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1945, allocations: 54.23 kB / 0.6818 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1945, allocations: 192 / 0.6818 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1946, allocations: 3.938 kB / 0.6818 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1946, allocations: 0 / 0.6818 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1947, allocations: 31.97 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1951, allocations: 256.9 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1952, allocations: 38.5 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.1953, allocations: 24.89 kB / 0.6822 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.564e-05/0.1954, allocations: 81.11 kB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1955, allocations: 30.56 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1955, allocations: 0 / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.1958, allocations: 93.48 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.1959, allocations: 51.41 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.381e-05/0.196, allocations: 109.8 kB / 0.6825 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.196, allocations: 25.7 kB / 0.6825 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.196, allocations: 84.14 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.1961, allocations: 11.97 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1961, allocations: 13.72 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1962, allocations: 314.8 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.1963, allocations: 19.97 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.1964, allocations: 15.98 kB / 0.683 GB, free: 13.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1966, allocations: 44.83 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1966, allocations: 0 / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.1968, allocations: 73.53 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1968, allocations: 4 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1968, allocations: 0 / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1968, allocations: 0 / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.1969, allocations: 11.98 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.197, allocations: 0 / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.197, allocations: 12.02 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.197, allocations: 0 / 0.6831 GB, free: 13.18 MB / 494.1 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 7.882e-05/0.1971, allocations: 119.1 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1971, allocations: 0 / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.1974, allocations: 68.78 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1974, allocations: 3.938 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1974, allocations: 4.031 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1974, allocations: 0 / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1976, allocations: 165.5 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1976, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.816e-05/0.1977, allocations: 12 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1977, allocations: 3.984 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1977, allocations: 256 / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1977, allocations: 4 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1977, allocations: 0 / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1979, allocations: 163.5 kB / 0.6836 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.198, allocations: 77.11 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.198, allocations: 4 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.1981, allocations: 8 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1981, allocations: 7.922 kB / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1981, allocations: 0 / 0.6837 GB, free: 12.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.1982, allocations: 83.31 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1982, allocations: 3.938 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1984, allocations: 12 kB / 0.6838 GB, free: 12.35 MB / 494.1 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.0001556/0.1986, allocations: 111.2 kB / 0.6839 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1988, allocations: 35.97 kB / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1988, allocations: 0 / 0.684 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.1989, allocations: 24.03 kB / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1992, allocations: 11.92 kB / 0.684 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.1995, allocations: 107.3 kB / 0.6841 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1998, allocations: 0.6808 MB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.502e-05/0.1998, allocations: 7.984 kB / 0.6848 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.1998, allocations: 11.38 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1998, allocations: 4.062 kB / 0.6848 GB, free: 11.3 MB / 494.1 MB Notification: Performance of Templates: time 0.00251/0.2023, allocations: 0.5031 MB / 0.6853 GB, free: 10.8 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)