Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001353/0.001353, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001303/0.001303, allocations: 197.6 kB / 16.26 MB, free: 6.629 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 298.6 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 108.6 kB / 0.6059 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1614, allocations: 89.15 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002864/0.1643, allocations: 1.527 MB / 0.6945 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.1647, allocations: 136.5 kB / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.993e-05/0.1648, allocations: 1.719 kB / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.1648, allocations: 3.938 kB / 0.6946 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.1649, allocations: 4 kB / 0.6946 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1651, allocations: 32.52 kB / 0.6946 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.1652, allocations: 39.86 kB / 0.6947 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1654, allocations: 22.95 kB / 0.6947 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.327e-05/0.1654, allocations: 17.84 kB / 0.6947 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.1655, allocations: 27.89 kB / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1655, allocations: 4 kB / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.1656, allocations: 31.92 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.1656, allocations: 11.98 kB / 0.6948 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1656, allocations: 23.88 kB / 0.6948 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1658, allocations: 60.12 kB / 0.6949 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1658, allocations: 0 / 0.6949 GB, free: 2.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1658, allocations: 0 / 0.6949 GB, free: 2.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1658, allocations: 0 / 0.6949 GB, free: 2.781 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004817/0.1663, allocations: 363.3 kB / 0.6952 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1663, allocations: 12.03 kB / 0.6952 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.1675, allocations: 212.5 kB / 0.6954 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1676, allocations: 176.3 kB / 0.6956 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1677, allocations: 4.312 kB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1677, allocations: 4.375 kB / 0.6956 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.1683, allocations: 198 kB / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1683, allocations: 192 / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1684, allocations: 7.938 kB / 0.6958 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1684, allocations: 0 / 0.6958 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008451/0.1692, allocations: 279.6 kB / 0.6961 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009669/0.1702, allocations: 441.2 kB / 0.6965 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.1713, allocations: 290.2 kB / 0.6968 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.1717, allocations: 100.8 kB / 0.6969 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1717, allocations: 4 kB / 0.6969 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1718, allocations: 34.55 kB / 0.6969 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1718, allocations: 4 kB / 0.6969 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001191/0.173, allocations: 309.3 kB / 0.6972 GB, free: 224 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.173, allocations: 51.41 kB / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1731, allocations: 117.8 kB / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1732, allocations: 25.7 kB / 0.6974 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.1733, allocations: 88.14 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1733, allocations: 19.73 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1734, allocations: 17.72 kB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1735, allocations: 322.8 kB / 0.6978 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.1739, allocations: 92.25 kB / 0.6979 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1742, allocations: 95.88 kB / 0.698 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006349/0.1749, allocations: 172.6 kB / 0.6982 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1749, allocations: 0 / 0.6982 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007419/0.1756, allocations: 225.3 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1757, allocations: 4 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1757, allocations: 0 / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1757, allocations: 0 / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.176, allocations: 35.94 kB / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.176, allocations: 0 / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1762, allocations: 35.95 kB / 0.6984 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1762, allocations: 0 / 0.6984 GB, free: 14.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1763, allocations: 117.8 kB / 0.6986 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1764, allocations: 7.906 kB / 0.6986 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.1764, allocations: 7.906 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1764, allocations: 0 / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1764, allocations: 4 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1764, allocations: 7.984 kB / 0.6986 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.1767, allocations: 205.5 kB / 0.6988 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1767, allocations: 7.984 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.177, allocations: 31.89 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.177, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.177, allocations: 4 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.177, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.177, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.1778, allocations: 319.1 kB / 0.6991 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.1779, allocations: 77.11 kB / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.1779, allocations: 0 / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.1781, allocations: 39.95 kB / 0.6992 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1782, allocations: 4.359 kB / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1782, allocations: 4 kB / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.1783, allocations: 91.27 kB / 0.6993 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1783, allocations: 0 / 0.6993 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002335/0.1785, allocations: 12 kB / 0.6993 GB, free: 13.87 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 (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.0001246/0.1786, allocations: 107.1 kB / 0.6994 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007855/0.1794, allocations: 203.7 kB / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1794, allocations: 0 / 0.6996 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.1798, allocations: 100.2 kB / 0.6997 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1801, allocations: 11.88 kB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.181, allocations: 285.2 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1814, allocations: 0.6883 MB / 0.7007 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.884e-05/0.1815, allocations: 19.98 kB / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.1815, allocations: 15.42 kB / 0.7007 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1815, allocations: 0 / 0.7007 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.003285/0.1848, allocations: 0.8691 MB / 0.7016 GB, free: 11.54 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1)