Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 212.2 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.797 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.9124/0.9124, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 70.45 kB / 0.6336 GB, free: 6.223 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1778, allocations: 87.89 MB / 0.7194 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003865/0.1816, allocations: 1.769 MB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.184, allocations: 1.189 MB / 0.7223 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.1842, allocations: 4 kB / 0.7223 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.1845, allocations: 63.67 kB / 0.7224 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.185, allocations: 119.5 kB / 0.7225 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.1856, allocations: 195.4 kB / 0.7227 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.1859, allocations: 163.5 kB / 0.7228 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.186, allocations: 13.64 kB / 0.7228 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1861, allocations: 75.69 kB / 0.7229 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1862, allocations: 67.73 kB / 0.723 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.1862, allocations: 8 kB / 0.723 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1864, allocations: 79.88 kB / 0.723 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.1865, allocations: 35.84 kB / 0.7231 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.1866, allocations: 51.66 kB / 0.7231 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1869, allocations: 215.2 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1869, allocations: 3.938 kB / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1869, allocations: 0 / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.1869, allocations: 3.938 kB / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007593/0.1877, allocations: 426.9 kB / 0.7237 GB, free: 9.816 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.1878, allocations: 8.031 kB / 0.7238 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1878, allocations: 20.83 kB / 0.7238 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.1882, allocations: 190.2 kB / 0.724 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1882, allocations: 4.375 kB / 0.724 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1882, allocations: 8.125 kB / 0.724 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1885, allocations: 121 kB / 0.7241 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1885, allocations: 0 / 0.7241 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1885, allocations: 3.938 kB / 0.7241 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1885, allocations: 0 / 0.7241 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1886, allocations: 43.97 kB / 0.7241 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.1892, allocations: 292.4 kB / 0.7244 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1894, allocations: 86.66 kB / 0.7245 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.1895, allocations: 32.83 kB / 0.7245 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1895, allocations: 0 / 0.7245 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1897, allocations: 91.36 kB / 0.7246 GB, free: 8.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.1897, allocations: 0 / 0.7246 GB, free: 8.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003919/0.1901, allocations: 141.5 kB / 0.7247 GB, free: 8.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.1902, allocations: 81.11 kB / 0.7248 GB, free: 8.594 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.1905, allocations: 279.1 kB / 0.7251 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1905, allocations: 25.7 kB / 0.7251 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1906, allocations: 124.1 kB / 0.7252 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.1906, allocations: 19.83 kB / 0.7252 GB, free: 8.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1907, allocations: 29.7 kB / 0.7253 GB, free: 8.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1909, allocations: 330.8 kB / 0.7256 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.1909, allocations: 35.92 kB / 0.7256 GB, free: 7.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.1911, allocations: 118.8 kB / 0.7257 GB, free: 7.594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1912, allocations: 73.72 kB / 0.7258 GB, free: 7.516 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1912, allocations: 0 / 0.7258 GB, free: 7.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002655/0.1915, allocations: 117.5 kB / 0.7259 GB, free: 7.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1915, allocations: 4 kB / 0.7259 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1915, allocations: 0 / 0.7259 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1916, allocations: 0 / 0.7259 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1917, allocations: 19.98 kB / 0.7259 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1917, allocations: 400 / 0.7259 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.1917, allocations: 7.953 kB / 0.726 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1917, allocations: 11.92 kB / 0.726 GB, free: 7.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001551/0.1919, allocations: 149.8 kB / 0.7261 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.1919, allocations: 19.89 kB / 0.7261 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.1922, allocations: 139 kB / 0.7263 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.1922, allocations: 3.938 kB / 0.7263 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1922, allocations: 0 / 0.7263 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1922, allocations: 0 / 0.7263 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1924, allocations: 165.2 kB / 0.7264 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1924, allocations: 0 / 0.7264 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.1925, allocations: 4 kB / 0.7264 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1925, allocations: 4 kB / 0.7264 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1925, allocations: 8 kB / 0.7264 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1925, allocations: 0 / 0.7264 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1925, allocations: 0 / 0.7264 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.1928, allocations: 156.9 kB / 0.7266 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.1928, allocations: 23.83 kB / 0.7266 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1929, allocations: 0 / 0.7266 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.991e-05/0.1929, allocations: 8 kB / 0.7266 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.193, allocations: 7.984 kB / 0.7266 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.193, allocations: 7.984 kB / 0.7266 GB, free: 6.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000228/0.1932, allocations: 208.8 kB / 0.7268 GB, free: 6.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1932, allocations: 0 / 0.7268 GB, free: 6.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002765/0.1935, allocations: 43.86 kB / 0.7269 GB, free: 6.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001777/0.1953, allocations: 440.8 kB / 0.7273 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1955, allocations: 71.84 kB / 0.7274 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1955, allocations: 0 / 0.7274 GB, free: 6.027 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1956, allocations: 39.92 kB / 0.7274 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.196, allocations: 47.42 kB / 0.7274 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.1966, allocations: 306.6 kB / 0.7277 GB, free: 5.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.1967, allocations: 114.6 kB / 0.7278 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.722e-05/0.1968, allocations: 33.7 kB / 0.7279 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.1969, allocations: 19.44 kB / 0.7279 GB, free: 5.438 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.1969, allocations: 4 kB / 0.7279 GB, free: 5.434 MB / 0.545 GB Notification: Performance of Templates: time 0.007021/0.2039, allocations: 2.767 MB / 0.7306 GB, free: 2.715 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.545138388872147] Failed to read output from testmodel.py, exit status != 0: 0.21297823451459408 0.22847450600000002 0.038286942000000004 Calling exit ...