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.001447/0.001447, allocations: 110.2 kB / 19.59 MB, free: 2.344 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.00159/0.00159, allocations: 219.5 kB / 22.88 MB, free: 5.613 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.299/1.299, allocations: 230.5 MB / 256.5 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 179] 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.8352/0.8352, allocations: 144.9 MB / 457.8 MB, free: 15.72 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.001909/0.001909, allocations: 64.53 kB / 0.6339 GB, free: 7.062 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1415, allocations: 87.89 MB / 0.7198 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00311/0.1446, allocations: 1.808 MB / 0.7215 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1466, allocations: 1.287 MB / 0.7228 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.1467, allocations: 0 / 0.7228 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.147, allocations: 63.67 kB / 0.7229 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1473, allocations: 119.5 kB / 0.723 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.1478, allocations: 199.5 kB / 0.7232 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.148, allocations: 163.5 kB / 0.7233 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1481, allocations: 13.62 kB / 0.7233 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1482, allocations: 71.7 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1483, allocations: 71.73 kB / 0.7235 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1483, allocations: 4 kB / 0.7235 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1485, allocations: 79.88 kB / 0.7235 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1485, allocations: 43.84 kB / 0.7236 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.1486, allocations: 59.61 kB / 0.7236 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1489, allocations: 219.1 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1489, allocations: 0 / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1489, allocations: 0 / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1489, allocations: 0 / 0.7239 GB, free: 10.96 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.0005949/0.1495, allocations: 426.9 kB / 0.7243 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1495, allocations: 12.03 kB / 0.7243 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.1496, allocations: 16.84 kB / 0.7243 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.1498, allocations: 194.2 kB / 0.7245 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1499, allocations: 384 / 0.7245 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1499, allocations: 16.12 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1501, allocations: 147.6 kB / 0.7246 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1501, allocations: 0 / 0.7246 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1501, allocations: 3.938 kB / 0.7246 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1501, allocations: 4 kB / 0.7246 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1502, allocations: 35.97 kB / 0.7247 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1507, allocations: 323.8 kB / 0.725 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1509, allocations: 82.66 kB / 0.7251 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.151, allocations: 32.94 kB / 0.7251 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.151, allocations: 3.938 kB / 0.7251 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1512, allocations: 87.33 kB / 0.7252 GB, free: 9.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.1512, allocations: 3.938 kB / 0.7252 GB, free: 9.441 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003479/0.1515, allocations: 141.5 kB / 0.7253 GB, free: 9.297 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.1516, allocations: 102.8 kB / 0.7254 GB, free: 9.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1519, allocations: 279.1 kB / 0.7257 GB, free: 8.887 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1519, allocations: 29.64 kB / 0.7257 GB, free: 8.852 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.152, allocations: 124.1 kB / 0.7258 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.152, allocations: 15.84 kB / 0.7258 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1521, allocations: 33.7 kB / 0.7259 GB, free: 8.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1522, allocations: 334.8 kB / 0.7262 GB, free: 8.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.1523, allocations: 23.98 kB / 0.7262 GB, free: 8.312 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1524, allocations: 145.4 kB / 0.7264 GB, free: 8.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.1525, allocations: 77.92 kB / 0.7264 GB, free: 8.055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1525, allocations: 4 kB / 0.7264 GB, free: 8.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.1528, allocations: 113.6 kB / 0.7265 GB, free: 7.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1528, allocations: 8 kB / 0.7265 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1528, allocations: 0 / 0.7265 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1528, allocations: 0 / 0.7265 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.1529, allocations: 19.94 kB / 0.7266 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1529, allocations: 3.984 kB / 0.7266 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.153, allocations: 11.89 kB / 0.7266 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.153, allocations: 0 / 0.7266 GB, free: 7.891 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.0001217/0.1531, allocations: 145.9 kB / 0.7267 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1531, allocations: 15.91 kB / 0.7267 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1534, allocations: 123 kB / 0.7269 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.1534, allocations: 7.938 kB / 0.7269 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1534, allocations: 3.938 kB / 0.7269 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1534, allocations: 7.969 kB / 0.7269 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1536, allocations: 196.6 kB / 0.7271 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1536, allocations: 0 / 0.7271 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.1536, allocations: 11.98 kB / 0.7271 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1536, allocations: 0 / 0.7271 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1536, allocations: 4 kB / 0.7271 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1536, allocations: 0 / 0.7271 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1536, allocations: 0 / 0.7271 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1539, allocations: 152.9 kB / 0.7272 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.1539, allocations: 11.91 kB / 0.7272 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.154, allocations: 4.188 kB / 0.7272 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.528e-05/0.154, allocations: 11.98 kB / 0.7272 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.154, allocations: 11.92 kB / 0.7273 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1541, allocations: 7.938 kB / 0.7273 GB, free: 7.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000192/0.1543, allocations: 208.5 kB / 0.7275 GB, free: 6.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 0 / 0.7275 GB, free: 6.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002316/0.1545, allocations: 35.94 kB / 0.7275 GB, free: 6.867 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 (7): * Single equations (assignments): 4 * 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.001415/0.1559, allocations: 422.4 kB / 0.7279 GB, free: 6.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1561, allocations: 67.97 kB / 0.728 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1561, allocations: 0 / 0.728 GB, free: 6.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.904e-05/0.1562, allocations: 31.92 kB / 0.728 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1565, allocations: 41.75 kB / 0.728 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.157, allocations: 336.7 kB / 0.7284 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1571, allocations: 114.7 kB / 0.7285 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.1572, allocations: 19.44 kB / 0.7285 GB, free: 5.961 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1572, allocations: 0 / 0.7285 GB, free: 5.961 MB / 0.545 GB Notification: Performance of Templates: time 0.004555/0.1617, allocations: 2.7 MB / 0.7311 GB, free: 3.273 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: 7.483992446213961] Failed to read output from testmodel.py, exit status != 0: 0.16963915014639497 0.18285494700000002 0.031203534 Calling exit ...