Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 116.6 kB / 17.09 MB, free: 5.984 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.001034/0.001034, allocations: 194.8 kB / 18.03 MB, free: 5.062 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.221/1.221, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6681/0.6681, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 65.84 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 76.18 MB / 0.6327 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002724/0.1208, allocations: 1.761 MB / 0.6345 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1224, allocations: 1.104 MB / 0.6355 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.1225, allocations: 7.938 kB / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.1227, allocations: 55.73 kB / 0.6356 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1229, allocations: 79.67 kB / 0.6357 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005196/0.1235, allocations: 223.3 kB / 0.6359 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.1237, allocations: 151.5 kB / 0.636 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.1238, allocations: 25.09 kB / 0.6361 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1239, allocations: 67.69 kB / 0.6361 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.124, allocations: 63.75 kB / 0.6362 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.124, allocations: 8 kB / 0.6362 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1241, allocations: 67.91 kB / 0.6363 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.1242, allocations: 43.89 kB / 0.6363 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1243, allocations: 59.61 kB / 0.6364 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1245, allocations: 207.3 kB / 0.6366 GB, free: 484 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1245, allocations: 0 / 0.6366 GB, free: 484 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1245, allocations: 0 / 0.6366 GB, free: 484 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1246, allocations: 0 / 0.6366 GB, free: 484 kB / 478.1 MB 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.0005992/0.1252, allocations: 492.3 kB / 0.637 GB, free: 15.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1252, allocations: 8.031 kB / 0.637 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.1253, allocations: 20.69 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1255, allocations: 249 kB / 0.6373 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1256, allocations: 4.312 kB / 0.6373 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1256, allocations: 12.11 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1258, allocations: 92.23 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1258, allocations: 0 / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1258, allocations: 0 / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1258, allocations: 8 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.1259, allocations: 35.91 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1264, allocations: 360.6 kB / 0.6378 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1266, allocations: 90.69 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.699e-05/0.1267, allocations: 32.84 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1267, allocations: 4 kB / 0.6379 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.1269, allocations: 79.38 kB / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.1269, allocations: 0 / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.000329/0.1272, allocations: 149.4 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1273, allocations: 106.8 kB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1275, allocations: 259 kB / 0.6385 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1275, allocations: 25.7 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.1276, allocations: 120 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1276, allocations: 19.8 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1277, allocations: 33.66 kB / 0.6387 GB, free: 14.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1278, allocations: 330.8 kB / 0.639 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.1279, allocations: 23.98 kB / 0.639 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.1279, allocations: 64.28 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1281, allocations: 77.62 kB / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1281, allocations: 0 / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001975/0.1283, allocations: 113.5 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1283, allocations: 8 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1283, allocations: 3.938 kB / 0.6393 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1284, allocations: 0 / 0.6393 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.1284, allocations: 19.92 kB / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1285, allocations: 0 / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.1285, allocations: 15.97 kB / 0.6393 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1285, allocations: 3.938 kB / 0.6393 GB, free: 13.39 MB / 494.1 MB 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.0001163/0.1287, allocations: 137.8 kB / 0.6394 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1287, allocations: 19.81 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.1287, allocations: 21.39 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1288, allocations: 0 / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1288, allocations: 0 / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1288, allocations: 88.92 kB / 0.6395 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.1288, allocations: 11.92 kB / 0.6396 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.1289, allocations: 4 kB / 0.6396 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.129, allocations: 11.98 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002317/0.1292, allocations: 184.9 kB / 0.6397 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002666/0.1295, allocations: 290.6 kB / 0.64 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.592e-05/0.1296, allocations: 35.97 kB / 0.6401 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.1297, allocations: 200.1 kB / 0.6403 GB, free: 12.35 MB / 494.1 MB Notification: Performance of Backend: time 2.31e-07/0.1297, allocations: 4 kB / 0.6403 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1309, allocations: 460.5 kB / 0.6407 GB, free: 12.05 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006286/0.1316, allocations: 0.7294 MB / 0.6414 GB, free: 11.28 MB / 494.1 MB Notification: Performance of Templates: time 0.005305/0.1369, allocations: 2.595 MB / 0.6439 GB, free: 8.703 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)