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.001315/0.001315, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001453/0.001453, allocations: 219.3 kB / 23 MB, free: 4.914 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9247/0.9247, allocations: 145 MB / 458.2 MB, free: 15.3 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.002076/0.002076, allocations: 66.34 kB / 0.6343 GB, free: 6.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1699, allocations: 87.89 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003258/0.1732, allocations: 1.768 MB / 0.7219 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1752, allocations: 1.198 MB / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1753, allocations: 0 / 0.723 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1756, allocations: 63.67 kB / 0.7231 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1759, allocations: 119.5 kB / 0.7232 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.1765, allocations: 195.4 kB / 0.7234 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1767, allocations: 155.6 kB / 0.7235 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1768, allocations: 13.62 kB / 0.7236 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.1769, allocations: 75.64 kB / 0.7236 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.177, allocations: 71.73 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1771, allocations: 8 kB / 0.7237 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.1772, allocations: 75.92 kB / 0.7238 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.775e-05/0.1773, allocations: 47.78 kB / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1774, allocations: 43.72 kB / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.1777, allocations: 207.2 kB / 0.7241 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1777, allocations: 0 / 0.7241 GB, free: 10.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.996e-06/0.1777, allocations: 0 / 0.7241 GB, free: 10.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1777, allocations: 0 / 0.7241 GB, free: 10.28 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.0009003/0.1786, allocations: 437 kB / 0.7245 GB, free: 9.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1787, allocations: 8.031 kB / 0.7245 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.1787, allocations: 20.84 kB / 0.7245 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1791, allocations: 198.2 kB / 0.7247 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1791, allocations: 8.375 kB / 0.7247 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1791, allocations: 8.125 kB / 0.7247 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.1793, allocations: 117 kB / 0.7248 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1794, allocations: 0 / 0.7248 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1794, allocations: 4 kB / 0.7248 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1794, allocations: 4 kB / 0.7248 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1795, allocations: 31.97 kB / 0.7249 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.1801, allocations: 300.4 kB / 0.7252 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1803, allocations: 82.67 kB / 0.7252 GB, free: 8.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.1804, allocations: 32.83 kB / 0.7253 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1804, allocations: 4 kB / 0.7253 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.1806, allocations: 87.34 kB / 0.7253 GB, free: 8.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1806, allocations: 3.938 kB / 0.7254 GB, free: 8.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.181, allocations: 137.6 kB / 0.7255 GB, free: 8.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.1811, allocations: 85.09 kB / 0.7256 GB, free: 8.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1814, allocations: 275.1 kB / 0.7258 GB, free: 8.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1814, allocations: 33.7 kB / 0.7259 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.1815, allocations: 124.1 kB / 0.726 GB, free: 8.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1815, allocations: 27.77 kB / 0.726 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1816, allocations: 25.7 kB / 0.726 GB, free: 8.086 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1817, allocations: 330.8 kB / 0.7263 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.1818, allocations: 27.98 kB / 0.7264 GB, free: 7.727 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.182, allocations: 118.8 kB / 0.7265 GB, free: 7.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1821, allocations: 69.7 kB / 0.7266 GB, free: 7.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1821, allocations: 4.031 kB / 0.7266 GB, free: 7.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002508/0.1824, allocations: 117.5 kB / 0.7267 GB, free: 7.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1824, allocations: 4 kB / 0.7267 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1824, allocations: 0 / 0.7267 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1824, allocations: 4 kB / 0.7267 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.1825, allocations: 11.98 kB / 0.7267 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1825, allocations: 4.391 kB / 0.7267 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.1826, allocations: 7.953 kB / 0.7267 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1826, allocations: 4 kB / 0.7267 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.0001441/0.1827, allocations: 153.7 kB / 0.7268 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1828, allocations: 15.91 kB / 0.7269 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1831, allocations: 135 kB / 0.727 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1831, allocations: 0 / 0.727 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1831, allocations: 0 / 0.727 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1831, allocations: 7.984 kB / 0.727 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.1833, allocations: 165.1 kB / 0.7272 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1833, allocations: 0 / 0.7272 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.1833, allocations: 11.98 kB / 0.7272 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.1833, allocations: 4 kB / 0.7272 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.1833, allocations: 4 kB / 0.7272 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1833, allocations: 3.938 kB / 0.7272 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1833, allocations: 0 / 0.7272 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1836, allocations: 157 kB / 0.7273 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.1836, allocations: 23.84 kB / 0.7274 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1837, allocations: 3.984 kB / 0.7274 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.389e-05/0.1837, allocations: 4 kB / 0.7274 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1838, allocations: 15.97 kB / 0.7274 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1838, allocations: 4 kB / 0.7274 GB, free: 6.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002036/0.184, allocations: 204.6 kB / 0.7276 GB, free: 6.387 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.184, allocations: 8 kB / 0.7276 GB, free: 6.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002413/0.1842, allocations: 31.94 kB / 0.7276 GB, free: 6.348 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.001653/0.1859, allocations: 442.5 kB / 0.728 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1861, allocations: 87.81 kB / 0.7281 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1861, allocations: 0 / 0.7281 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1862, allocations: 31.98 kB / 0.7281 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.1865, allocations: 40.7 kB / 0.7282 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.1871, allocations: 352.3 kB / 0.7285 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.1873, allocations: 106.6 kB / 0.7286 GB, free: 5.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.1873, allocations: 23.42 kB / 0.7286 GB, free: 5.418 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1873, allocations: 0 / 0.7286 GB, free: 5.418 MB / 0.545 GB Notification: Performance of Templates: time 0.005075/0.1924, allocations: 2.731 MB / 0.7313 GB, free: 2.695 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: 8.391620500944555] Failed to read output from testmodel.py, exit status != 0: 0.2011575880460441 0.21508151899999994 0.034365123000000004 Calling exit ...