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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009234, allocations: 99.58 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008696/0.0008696, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.296/1.296, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9396/0.9396, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004611/0.0004612, allocations: 16.83 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001823/0.1656, allocations: 1.486 MB / 0.5901 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.167, allocations: 0.9793 MB / 0.591 GB, free: 132 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1671, allocations: 4 kB / 0.591 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.1676, allocations: 159.6 kB / 0.5912 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1678, allocations: 99.73 kB / 0.5913 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1682, allocations: 159 kB / 0.5914 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1684, allocations: 159.6 kB / 0.5916 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.1685, allocations: 29.08 kB / 0.5916 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.955e-05/0.1686, allocations: 59.64 kB / 0.5917 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.1687, allocations: 67.75 kB / 0.5917 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1687, allocations: 0 / 0.5917 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1688, allocations: 51.97 kB / 0.5918 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.1689, allocations: 39.83 kB / 0.5918 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.169, allocations: 89.31 kB / 0.5919 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1691, allocations: 143.9 kB / 0.592 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1691, allocations: 0 / 0.592 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1692, allocations: 0 / 0.592 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.1692, allocations: 0 / 0.592 GB, free: 15.09 MB / 0.4981 GB 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.0005906/0.1698, allocations: 472.4 kB / 0.5925 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1698, allocations: 8.031 kB / 0.5925 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.1699, allocations: 16.75 kB / 0.5925 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1701, allocations: 252.8 kB / 0.5928 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1701, allocations: 4.375 kB / 0.5928 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1702, allocations: 12.12 kB / 0.5928 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1703, allocations: 83.38 kB / 0.5929 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.1704, allocations: 0 / 0.5929 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1704, allocations: 4 kB / 0.5929 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1704, allocations: 3.984 kB / 0.5929 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.1705, allocations: 43.86 kB / 0.5929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.1709, allocations: 356.7 kB / 0.5932 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1711, allocations: 74.61 kB / 0.5933 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.1712, allocations: 32.84 kB / 0.5933 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1712, allocations: 0 / 0.5933 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.1714, allocations: 87.38 kB / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1714, allocations: 0 / 0.5934 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002983/0.1717, allocations: 145.4 kB / 0.5936 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.1718, allocations: 77.11 kB / 0.5936 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.172, allocations: 255 kB / 0.5939 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.172, allocations: 37.69 kB / 0.5939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.1721, allocations: 120 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1721, allocations: 23.73 kB / 0.5941 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1722, allocations: 21.7 kB / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1723, allocations: 330.8 kB / 0.5944 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.1724, allocations: 27.98 kB / 0.5944 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1724, allocations: 59.36 kB / 0.5945 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1726, allocations: 78.16 kB / 0.5945 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1726, allocations: 3.984 kB / 0.5946 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001862/0.1728, allocations: 113.4 kB / 0.5947 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1728, allocations: 8 kB / 0.5947 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1728, allocations: 3.984 kB / 0.5947 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1728, allocations: 0 / 0.5947 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.1729, allocations: 15.94 kB / 0.5947 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1729, allocations: 4.156 kB / 0.5947 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.173, allocations: 15.88 kB / 0.5947 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.173, allocations: 7.984 kB / 0.5947 GB, free: 12.08 MB / 0.4981 GB 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.0001103/0.1731, allocations: 142.6 kB / 0.5948 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1731, allocations: 15.81 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.1732, allocations: 17.39 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.1732, allocations: 4 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1732, allocations: 3.984 kB / 0.5949 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1732, allocations: 3.938 kB / 0.5949 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1734, allocations: 229.5 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1734, allocations: 4 kB / 0.5951 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.1734, allocations: 4 kB / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1734, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1735, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1735, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1735, allocations: 0 / 0.5951 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1737, allocations: 148.8 kB / 0.5953 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.1737, allocations: 92.92 kB / 0.5953 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1738, allocations: 7.984 kB / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.968e-05/0.1738, allocations: 4 kB / 0.5954 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.1739, allocations: 11.98 kB / 0.5954 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1739, allocations: 7.938 kB / 0.5954 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001688/0.1741, allocations: 188.6 kB / 0.5956 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1741, allocations: 0 / 0.5956 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1743, allocations: 35.91 kB / 0.5956 GB, free: 11.08 MB / 0.4981 GB 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.0008995/0.1752, allocations: 435.1 kB / 0.596 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1754, allocations: 63.97 kB / 0.5961 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1754, allocations: 0 / 0.5961 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.1755, allocations: 43.92 kB / 0.5961 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1758, allocations: 42.34 kB / 0.5962 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.1763, allocations: 360 kB / 0.5965 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1766, allocations: 0.7282 MB / 0.5972 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.1766, allocations: 19.44 kB / 0.5972 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1766, allocations: 7.875 kB / 0.5972 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of Templates: time 0.004096/0.1807, allocations: 2.519 MB / 0.5997 GB, free: 7.016 MB / 0.4981 GB 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)