Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.001322/0.001322, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.494/1.494, allocations: 225.6 MB / 244.8 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8301/0.8301, allocations: 128.4 MB / 426.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 77.5 kB / 0.5912 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 83.25 MB / 0.6725 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002993/0.1893, allocations: 1.426 MB / 0.6739 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.1903, allocations: 495.9 kB / 0.6743 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1903, allocations: 3.938 kB / 0.6743 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/0.1903, allocations: 4 kB / 0.6743 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.091e-05/0.1904, allocations: 3.938 kB / 0.6744 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1906, allocations: 19.92 kB / 0.6744 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1908, allocations: 23.92 kB / 0.6744 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1909, allocations: 4 kB / 0.6744 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.1909, allocations: 11.98 kB / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.191, allocations: 15.92 kB / 0.6744 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.191, allocations: 4 kB / 0.6744 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.1911, allocations: 23.97 kB / 0.6745 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.1911, allocations: 8 kB / 0.6745 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1911, allocations: 3.938 kB / 0.6745 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1912, allocations: 43.75 kB / 0.6745 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1913, allocations: 4 kB / 0.6745 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1913, allocations: 0 / 0.6745 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1913, allocations: 0 / 0.6745 GB, free: 1.77 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005501/0.1918, allocations: 343.4 kB / 0.6748 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1918, allocations: 12.03 kB / 0.6748 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1919, allocations: 0.9375 kB / 0.6748 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1921, allocations: 164.3 kB / 0.675 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1921, allocations: 4.375 kB / 0.675 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1921, allocations: 4.375 kB / 0.675 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1923, allocations: 53.98 kB / 0.6751 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1923, allocations: 3.938 kB / 0.6751 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1923, allocations: 4 kB / 0.6751 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1923, allocations: 4 kB / 0.6751 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.1925, allocations: 39.89 kB / 0.6751 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1929, allocations: 248.9 kB / 0.6754 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.193, allocations: 38.55 kB / 0.6754 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.292e-05/0.1931, allocations: 28.91 kB / 0.6754 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1933, allocations: 77.11 kB / 0.6755 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.1933, allocations: 38.55 kB / 0.6755 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1933, allocations: 0 / 0.6755 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.1937, allocations: 81.59 kB / 0.6756 GB, free: 472 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.1937, allocations: 55.53 kB / 0.6757 GB, free: 404 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1938, allocations: 101.8 kB / 0.6758 GB, free: 292 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1938, allocations: 25.7 kB / 0.6758 GB, free: 260 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.1939, allocations: 84.14 kB / 0.6759 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.1939, allocations: 3.953 kB / 0.6759 GB, free: 168 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1939, allocations: 21.7 kB / 0.6759 GB, free: 140 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1941, allocations: 310.8 kB / 0.6762 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.1942, allocations: 15.98 kB / 0.6762 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.1943, allocations: 19.98 kB / 0.6762 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1944, allocations: 44.69 kB / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1944, allocations: 0 / 0.6763 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.1946, allocations: 73.61 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1946, allocations: 8.094 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1946, allocations: 4 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1946, allocations: 0 / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1947, allocations: 4 kB / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1947, allocations: 0 / 0.6763 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.1948, allocations: 11.92 kB / 0.6764 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1948, allocations: 0 / 0.6764 GB, free: 15.64 MB / 0.5137 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 (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 9.703e-05/0.1949, allocations: 113.8 kB / 0.6765 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.1949, allocations: 4 kB / 0.6765 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.1951, allocations: 84.69 kB / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1951, allocations: 0 / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1951, allocations: 0 / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1951, allocations: 0 / 0.6765 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1953, allocations: 157.6 kB / 0.6767 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1953, allocations: 4 kB / 0.6767 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.1954, allocations: 8.234 kB / 0.6767 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1954, allocations: 7.969 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1954, allocations: 4 kB / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1954, allocations: 0 / 0.6767 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1954, allocations: 7.938 kB / 0.6767 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1956, allocations: 167.4 kB / 0.6769 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1957, allocations: 81.06 kB / 0.677 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1957, allocations: 4.031 kB / 0.677 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1958, allocations: 7.984 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.1958, allocations: 0 / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1958, allocations: 0 / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.1959, allocations: 87.27 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1959, allocations: 4 kB / 0.6771 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002141/0.1961, allocations: 4 kB / 0.6771 GB, free: 14.81 MB / 0.5137 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 (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.0001595/0.1963, allocations: 95.25 kB / 0.6772 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1965, allocations: 43.95 kB / 0.6772 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1965, allocations: 0 / 0.6772 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.1966, allocations: 23.92 kB / 0.6772 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1968, allocations: 3.938 kB / 0.6772 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.1971, allocations: 105.6 kB / 0.6773 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.1975, allocations: 0.6807 MB / 0.678 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.1975, allocations: 4 kB / 0.678 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1975, allocations: 11.44 kB / 0.678 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1975, allocations: 0 / 0.678 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of Templates: time 0.003214/0.2007, allocations: 0.5697 MB / 0.6786 GB, free: 13.22 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480]