Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7587/0.7587, allocations: 133.4 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 404.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.0009899, allocations: 115.2 kB / 485.9 MB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 59.91 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1495, allocations: 80.43 MB / 0.6421 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003771/0.1533, allocations: 1.836 MB / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1553, allocations: 1.007 MB / 0.6449 GB, free: 2.539 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1554, allocations: 3.938 kB / 0.6449 GB, free: 2.535 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.1562, allocations: 156.9 kB / 0.6451 GB, free: 2.383 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1565, allocations: 103.7 kB / 0.6452 GB, free: 2.281 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.157, allocations: 150.1 kB / 0.6453 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.1573, allocations: 163.6 kB / 0.6455 GB, free: 1.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1574, allocations: 21.11 kB / 0.6455 GB, free: 1.953 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1575, allocations: 71.62 kB / 0.6456 GB, free: 1.883 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1577, allocations: 67.75 kB / 0.6456 GB, free: 1.816 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1577, allocations: 4 kB / 0.6456 GB, free: 1.812 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1579, allocations: 51.91 kB / 0.6457 GB, free: 1.762 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.158, allocations: 39.89 kB / 0.6457 GB, free: 1.723 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1581, allocations: 59.61 kB / 0.6458 GB, free: 1.664 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1584, allocations: 183.7 kB / 0.6459 GB, free: 1.484 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1584, allocations: 0 / 0.6459 GB, free: 1.484 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1584, allocations: 0 / 0.6459 GB, free: 1.484 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1584, allocations: 0 / 0.6459 GB, free: 1.484 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008583/0.1593, allocations: 0.4963 MB / 0.6464 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1594, allocations: 8.031 kB / 0.6464 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.1594, allocations: 20.66 kB / 0.6465 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1597, allocations: 244.9 kB / 0.6467 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1598, allocations: 384 / 0.6467 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1598, allocations: 12.12 kB / 0.6467 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.16, allocations: 91.3 kB / 0.6468 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.16, allocations: 3.938 kB / 0.6468 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.16, allocations: 8 kB / 0.6468 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1601, allocations: 0 / 0.6468 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1602, allocations: 39.98 kB / 0.6468 GB, free: 476 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.1607, allocations: 356.6 kB / 0.6472 GB, free: 68 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.161, allocations: 70.75 kB / 0.6472 GB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.1611, allocations: 32.86 kB / 0.6473 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.1611, allocations: 3.984 kB / 0.6473 GB, free: 15.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.1613, allocations: 83.33 kB / 0.6474 GB, free: 15.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 2.124e-06/0.1614, allocations: 0 / 0.6474 GB, free: 15.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.000391/0.1618, allocations: 141.4 kB / 0.6475 GB, free: 15.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1618, allocations: 81.22 kB / 0.6476 GB, free: 15.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.1621, allocations: 270.7 kB / 0.6478 GB, free: 15.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.1622, allocations: 33.7 kB / 0.6479 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1623, allocations: 116 kB / 0.648 GB, free: 15.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1623, allocations: 23.66 kB / 0.648 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.1624, allocations: 29.7 kB / 0.648 GB, free: 15.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1626, allocations: 326.8 kB / 0.6483 GB, free: 14.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.348e-05/0.1627, allocations: 27.98 kB / 0.6484 GB, free: 14.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.296e-05/0.1628, allocations: 63.41 kB / 0.6484 GB, free: 14.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1629, allocations: 74.02 kB / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1629, allocations: 3.938 kB / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002245/0.1631, allocations: 113.4 kB / 0.6486 GB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1632, allocations: 9.406 kB / 0.6486 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1632, allocations: 0 / 0.6486 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1632, allocations: 4.062 kB / 0.6486 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.1633, allocations: 8 kB / 0.6486 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.1633, allocations: 7.984 kB / 0.6486 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.1634, allocations: 11.84 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1634, allocations: 4 kB / 0.6486 GB, free: 14.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001611/0.1636, allocations: 143.1 kB / 0.6488 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1636, allocations: 15.81 kB / 0.6488 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.1637, allocations: 21.39 kB / 0.6488 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.1637, allocations: 11.98 kB / 0.6488 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1637, allocations: 0 / 0.6488 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1637, allocations: 3.938 kB / 0.6488 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.164, allocations: 221.5 kB / 0.649 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.164, allocations: 4 kB / 0.6491 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.164, allocations: 0 / 0.6491 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.164, allocations: 4 kB / 0.6491 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1641, allocations: 3.984 kB / 0.6491 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1641, allocations: 3.938 kB / 0.6491 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1641, allocations: 4 kB / 0.6491 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.1647, allocations: 0.7486 MB / 0.6498 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1648, allocations: 92.92 kB / 0.6499 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1648, allocations: 3.938 kB / 0.6499 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.1649, allocations: 7.984 kB / 0.6499 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1649, allocations: 4 kB / 0.6499 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.165, allocations: 3.938 kB / 0.6499 GB, free: 13.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.1652, allocations: 204.6 kB / 0.6501 GB, free: 12.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1652, allocations: 0 / 0.6501 GB, free: 12.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.1655, allocations: 31.94 kB / 0.6501 GB, free: 12.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001027/0.1665, allocations: 418.5 kB / 0.6505 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1668, allocations: 75.91 kB / 0.6506 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1668, allocations: 0 / 0.6506 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.1669, allocations: 40.05 kB / 0.6506 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1672, allocations: 35.91 kB / 0.6507 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.1679, allocations: 471.5 kB / 0.6511 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1682, allocations: 0.7281 MB / 0.6518 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1683, allocations: 25.72 kB / 0.6519 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.1684, allocations: 23.42 kB / 0.6519 GB, free: 11.09 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1684, allocations: 0 / 0.6519 GB, free: 11.09 MB / 458.7 MB Notification: Performance of Templates: time 0.005494/0.1739, allocations: 2.227 MB / 0.6541 GB, free: 8.887 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)