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.00113/0.00113, allocations: 119.1 kB / 17.08 MB, free: 5.969 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.001113/0.001113, allocations: 196.7 kB / 18.02 MB, free: 5.047 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.272/1.272, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.94 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 76.19 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002758/0.1414, allocations: 1.753 MB / 0.6345 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.143, allocations: 1.111 MB / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.086e-05/0.1431, allocations: 0 / 0.6355 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1434, allocations: 63.67 kB / 0.6356 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1437, allocations: 79.66 kB / 0.6357 GB, free: 1.371 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.1443, allocations: 222.2 kB / 0.6359 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1445, allocations: 151.6 kB / 0.636 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1446, allocations: 21.11 kB / 0.6361 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.1447, allocations: 63.7 kB / 0.6361 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.1448, allocations: 63.75 kB / 0.6362 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.1448, allocations: 4 kB / 0.6362 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.145, allocations: 87.88 kB / 0.6363 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.1451, allocations: 27.92 kB / 0.6363 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.531e-05/0.1451, allocations: 59.59 kB / 0.6363 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.1454, allocations: 207.3 kB / 0.6365 GB, free: 496 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1454, allocations: 0 / 0.6365 GB, free: 496 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1454, allocations: 0 / 0.6365 GB, free: 496 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1454, allocations: 4 kB / 0.6365 GB, free: 492 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.000592/0.146, allocations: 488.5 kB / 0.637 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1461, allocations: 8.031 kB / 0.637 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.1461, allocations: 20.75 kB / 0.637 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1465, allocations: 252.9 kB / 0.6373 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1465, allocations: 4.375 kB / 0.6373 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1465, allocations: 12.12 kB / 0.6373 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1467, allocations: 92.17 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1467, allocations: 0 / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1468, allocations: 0 / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1468, allocations: 0 / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1469, allocations: 47.91 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1474, allocations: 352.6 kB / 0.6378 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1476, allocations: 86.75 kB / 0.6378 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.1477, allocations: 36.78 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.1477, allocations: 7.938 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.1479, allocations: 83.36 kB / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.1479, allocations: 0 / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003421/0.1483, allocations: 141.4 kB / 0.6381 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.1483, allocations: 106.8 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.1486, allocations: 263 kB / 0.6385 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1486, allocations: 25.7 kB / 0.6385 GB, free: 14.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.1487, allocations: 120.1 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1487, allocations: 23.7 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1488, allocations: 29.69 kB / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1489, allocations: 330.8 kB / 0.639 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.149, allocations: 27.98 kB / 0.639 GB, free: 13.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1491, allocations: 64.28 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1492, allocations: 77.62 kB / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1492, allocations: 0 / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.1495, allocations: 109.8 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1495, allocations: 4 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1495, allocations: 0 / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1495, allocations: 7.938 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.1496, allocations: 19.92 kB / 0.6393 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1496, allocations: 8.031 kB / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.274e-05/0.1497, allocations: 7.875 kB / 0.6393 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1497, allocations: 4 kB / 0.6393 GB, free: 13.4 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.0001123/0.1498, allocations: 141.8 kB / 0.6394 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.1499, allocations: 19.8 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.1499, allocations: 13.41 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1499, allocations: 4 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1499, allocations: 0 / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.15, allocations: 3.938 kB / 0.6395 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1501, allocations: 233.5 kB / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1502, allocations: 0 / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.1502, allocations: 8 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1502, allocations: 0 / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1502, allocations: 0 / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1502, allocations: 0 / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1502, allocations: 4 kB / 0.6397 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1505, allocations: 145 kB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1506, allocations: 93.02 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.1506, allocations: 11.92 kB / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.1507, allocations: 0 / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.1507, allocations: 11.98 kB / 0.6399 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1508, allocations: 7.938 kB / 0.6399 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1509, allocations: 200.2 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1509, allocations: 0 / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1512, allocations: 43.81 kB / 0.6402 GB, free: 12.37 MB / 494.1 MB 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.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.0009215/0.1521, allocations: 423 kB / 0.6406 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1524, allocations: 71.89 kB / 0.6407 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1524, allocations: 0 / 0.6407 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9e-05/0.1525, allocations: 39.92 kB / 0.6407 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.1528, allocations: 40.33 kB / 0.6407 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.1533, allocations: 316.6 kB / 0.641 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1536, allocations: 0.728 MB / 0.6417 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.1536, allocations: 15.44 kB / 0.6418 GB, free: 10.86 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1536, allocations: 0 / 0.6418 GB, free: 10.86 MB / 494.1 MB Notification: Performance of Templates: time 0.004179/0.1578, allocations: 2.631 MB / 0.6443 GB, free: 8.238 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)