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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8869/0.8869, allocations: 145 MB / 451.3 MB, free: 5.453 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.33 kB / 0.6253 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1721, allocations: 86.72 MB / 0.71 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002984/0.1751, allocations: 1.783 MB / 0.7118 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1762, allocations: 0.6749 MB / 0.7124 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1763, allocations: 0 / 0.7124 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.1763, allocations: 15.8 kB / 0.7124 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.1764, allocations: 15.81 kB / 0.7124 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.1769, allocations: 173.2 kB / 0.7126 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1771, allocations: 123.6 kB / 0.7127 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1772, allocations: 45.08 kB / 0.7128 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1773, allocations: 59.83 kB / 0.7128 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.1774, allocations: 51.72 kB / 0.7129 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1774, allocations: 11.98 kB / 0.7129 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1775, allocations: 47.95 kB / 0.7129 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1776, allocations: 31.92 kB / 0.713 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.1776, allocations: 55.7 kB / 0.713 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1779, allocations: 155.4 kB / 0.7132 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1779, allocations: 0 / 0.7132 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1779, allocations: 0 / 0.7132 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1779, allocations: 0 / 0.7132 GB, free: 5.637 MB / 0.5294 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.000602/0.1785, allocations: 365.7 kB / 0.7135 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1785, allocations: 8.031 kB / 0.7135 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.1794, allocations: 116.7 kB / 0.7136 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1795, allocations: 126.4 kB / 0.7137 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.1796, allocations: 67.89 kB / 0.7138 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1796, allocations: 8.375 kB / 0.7138 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.1802, allocations: 169.7 kB / 0.714 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1802, allocations: 0 / 0.714 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1802, allocations: 8 kB / 0.714 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1802, allocations: 0 / 0.714 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1809, allocations: 159.8 kB / 0.7141 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.182, allocations: 449 kB / 0.7146 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.1831, allocations: 218.3 kB / 0.7148 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1834, allocations: 80.84 kB / 0.7149 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1834, allocations: 4 kB / 0.7149 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1834, allocations: 38.56 kB / 0.7149 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1834, allocations: 0 / 0.7149 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001084/0.1845, allocations: 261.3 kB / 0.7151 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1845, allocations: 51.41 kB / 0.7152 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1847, allocations: 136.8 kB / 0.7153 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1847, allocations: 33.64 kB / 0.7154 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.1848, allocations: 120.2 kB / 0.7155 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1848, allocations: 27.78 kB / 0.7155 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.1849, allocations: 21.7 kB / 0.7155 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.185, allocations: 318.8 kB / 0.7158 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.1854, allocations: 79.84 kB / 0.7159 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1857, allocations: 94.5 kB / 0.716 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.1863, allocations: 162.4 kB / 0.7161 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1863, allocations: 0 / 0.7161 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007137/0.187, allocations: 197.4 kB / 0.7163 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.187, allocations: 8.062 kB / 0.7163 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1871, allocations: 0 / 0.7163 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1871, allocations: 11.88 kB / 0.7164 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.1873, allocations: 35.94 kB / 0.7164 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1874, allocations: 4 kB / 0.7164 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1876, allocations: 19.97 kB / 0.7164 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1876, allocations: 4 kB / 0.7164 GB, free: 2.086 MB / 0.5294 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.0001202/0.1877, allocations: 125.8 kB / 0.7165 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.1877, allocations: 11.94 kB / 0.7165 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007701/0.1885, allocations: 210.1 kB / 0.7167 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1885, allocations: 0 / 0.7167 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1885, allocations: 0 / 0.7167 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1885, allocations: 0 / 0.7167 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.1888, allocations: 209.4 kB / 0.7169 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1888, allocations: 0 / 0.7169 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.189, allocations: 39.94 kB / 0.717 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.189, allocations: 11.92 kB / 0.717 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.189, allocations: 3.938 kB / 0.717 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.189, allocations: 0 / 0.717 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.189, allocations: 4 kB / 0.717 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.1898, allocations: 283.3 kB / 0.7173 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.1898, allocations: 11.95 kB / 0.7173 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1898, allocations: 3.938 kB / 0.7173 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.1901, allocations: 31.95 kB / 0.7173 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1902, allocations: 7.984 kB / 0.7173 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1902, allocations: 7.984 kB / 0.7173 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.169e-05/0.1903, allocations: 99.27 kB / 0.7174 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1903, allocations: 0 / 0.7174 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002618/0.1905, allocations: 31.89 kB / 0.7175 GB, free: 0.9414 MB / 0.5294 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.0001259/0.1907, allocations: 103.2 kB / 0.7176 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.1914, allocations: 163.8 kB / 0.7177 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1914, allocations: 128 / 0.7177 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.1917, allocations: 83.84 kB / 0.7178 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.192, allocations: 11.94 kB / 0.7178 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.1927, allocations: 259.4 kB / 0.7181 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.193, allocations: 0.7041 MB / 0.7187 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.557e-05/0.1931, allocations: 12 kB / 0.7188 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.1932, allocations: 19.42 kB / 0.7188 GB, free: 15.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1932, allocations: 0 / 0.7188 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Templates: time 0.004053/0.1972, allocations: 1.51 MB / 0.7202 GB, free: 14.03 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.345087550580502] Failed to read output from testmodel.py, exit status != 0: 0.2044457709416747 0.218588246 0.037877930000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5829c817b0>