Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, 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.001147/0.001147, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.036/1.036, allocations: 143 MB / 433.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.84 kB / 0.5137 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 82.04 MB / 0.5938 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002998/0.181, allocations: 1.823 MB / 0.5956 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1822, allocations: 0.6438 MB / 0.5962 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.1822, allocations: 4 kB / 0.5962 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.974e-05/0.1823, allocations: 11.86 kB / 0.5962 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.1824, allocations: 7.922 kB / 0.5962 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.1829, allocations: 168.3 kB / 0.5964 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1831, allocations: 119.6 kB / 0.5965 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1832, allocations: 49.09 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1833, allocations: 59.72 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.934e-05/0.1834, allocations: 51.75 kB / 0.5966 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1835, allocations: 12 kB / 0.5967 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1836, allocations: 55.97 kB / 0.5967 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.1836, allocations: 27.89 kB / 0.5967 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.1837, allocations: 55.73 kB / 0.5968 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1839, allocations: 143.8 kB / 0.5969 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1839, allocations: 0 / 0.5969 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1839, allocations: 0 / 0.5969 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1839, allocations: 3.938 kB / 0.5969 GB, free: 6.734 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006063/0.1845, allocations: 435 kB / 0.5973 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1846, allocations: 12.03 kB / 0.5974 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008501/0.1854, allocations: 108.7 kB / 0.5975 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1856, allocations: 195.3 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-05/0.1857, allocations: 67.95 kB / 0.5977 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1857, allocations: 4.375 kB / 0.5977 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.1863, allocations: 173.7 kB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1863, allocations: 0 / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.1863, allocations: 4 kB / 0.5979 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1863, allocations: 0 / 0.5979 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.1869, allocations: 159.8 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1881, allocations: 481.7 kB / 0.5985 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/0.1891, allocations: 222.3 kB / 0.5987 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.1894, allocations: 76.91 kB / 0.5988 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1895, allocations: 7.984 kB / 0.5988 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1895, allocations: 42.55 kB / 0.5988 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.1895, allocations: 0 / 0.5988 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001012/0.1905, allocations: 265.5 kB / 0.5991 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1906, allocations: 55.34 kB / 0.5991 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.1908, allocations: 141.8 kB / 0.5993 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.1908, allocations: 25.7 kB / 0.5993 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.1909, allocations: 116.1 kB / 0.5994 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1909, allocations: 19.66 kB / 0.5994 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.191, allocations: 25.7 kB / 0.5994 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1912, allocations: 318.8 kB / 0.5998 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.1915, allocations: 75.92 kB / 0.5998 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1918, allocations: 98.42 kB / 0.5999 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.1923, allocations: 162.4 kB / 0.6001 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1924, allocations: 0 / 0.6001 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006536/0.193, allocations: 205.4 kB / 0.6003 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1931, allocations: 8 kB / 0.6003 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1931, allocations: 0 / 0.6003 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1931, allocations: 7.875 kB / 0.6003 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1934, allocations: 36.02 kB / 0.6003 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1934, allocations: 4 kB / 0.6003 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1936, allocations: 23.95 kB / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.1936, allocations: 4 kB / 0.6003 GB, free: 2.977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001191/0.1937, allocations: 117.8 kB / 0.6005 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.1938, allocations: 7.906 kB / 0.6005 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.1945, allocations: 210.1 kB / 0.6007 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1945, allocations: 4 kB / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1945, allocations: 0 / 0.6007 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1945, allocations: 3.984 kB / 0.6007 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1948, allocations: 234.3 kB / 0.6009 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1948, allocations: 4.375 kB / 0.6009 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.1951, allocations: 31.95 kB / 0.6009 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1951, allocations: 0 / 0.6009 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1951, allocations: 15.92 kB / 0.6009 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1951, allocations: 0 / 0.6009 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1951, allocations: 4 kB / 0.601 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.1958, allocations: 283.2 kB / 0.6012 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1958, allocations: 85.02 kB / 0.6013 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.1959, allocations: 3.938 kB / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.1962, allocations: 31.95 kB / 0.6013 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1962, allocations: 8 kB / 0.6013 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1962, allocations: 7.984 kB / 0.6014 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.475e-05/0.1963, allocations: 109.3 kB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1963, allocations: 0 / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002752/0.1966, allocations: 20 kB / 0.6015 GB, free: 1.719 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 (6): * Single equations (assignments): 6 * 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.0001503/0.1968, allocations: 99.25 kB / 0.6016 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006772/0.1974, allocations: 175.7 kB / 0.6017 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1975, allocations: 0 / 0.6017 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1978, allocations: 83.86 kB / 0.6018 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1982, allocations: 13.52 kB / 0.6018 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.1989, allocations: 291.5 kB / 0.6021 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.1992, allocations: 0.7039 MB / 0.6028 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.1993, allocations: 15.98 kB / 0.6028 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.1994, allocations: 11.44 kB / 0.6028 GB, free: 288 kB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1994, allocations: 0 / 0.6028 GB, free: 288 kB / 0.4981 GB Notification: Performance of Templates: time 0.2615/0.4608, allocations: 1.412 MB / 0.6042 GB, free: 43.73 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)