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.001308/0.001308, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001309/0.001309, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9395/0.9395, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.66 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1691, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004657/0.1738, allocations: 1.833 MB / 0.5863 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1757, allocations: 1.01 MB / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.1758, allocations: 0 / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.1765, allocations: 155.7 kB / 0.5874 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1768, allocations: 107.7 kB / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.1772, allocations: 157.5 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1775, allocations: 167.6 kB / 0.5878 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1776, allocations: 29.09 kB / 0.5879 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1777, allocations: 67.7 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.1778, allocations: 75.69 kB / 0.588 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1778, allocations: 8 kB / 0.588 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.178, allocations: 55.95 kB / 0.5881 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.1781, allocations: 39.91 kB / 0.5881 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.1782, allocations: 63.55 kB / 0.5882 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1785, allocations: 199.7 kB / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1785, allocations: 0 / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1785, allocations: 0 / 0.5883 GB, free: 364 kB / 494.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1785, allocations: 0 / 0.5883 GB, free: 364 kB / 494.1 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.00087/0.1794, allocations: 0.4924 MB / 0.5888 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1794, allocations: 8.031 kB / 0.5888 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.1795, allocations: 16.75 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1799, allocations: 252.7 kB / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1799, allocations: 384 / 0.5891 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1799, allocations: 12.12 kB / 0.5891 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1801, allocations: 83.38 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1801, allocations: 4 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1801, allocations: 0 / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.1802, allocations: 4 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1803, allocations: 43.91 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.1808, allocations: 344.8 kB / 0.5896 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.181, allocations: 78.61 kB / 0.5896 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.1811, allocations: 32.84 kB / 0.5897 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1811, allocations: 3.984 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.1813, allocations: 79.38 kB / 0.5897 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1813, allocations: 3.938 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003506/0.1817, allocations: 145.5 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.1818, allocations: 89.05 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.1821, allocations: 258.9 kB / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1821, allocations: 29.7 kB / 0.5903 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1822, allocations: 112.1 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1822, allocations: 27.64 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.1823, allocations: 33.7 kB / 0.5904 GB, free: 14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1825, allocations: 326.8 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.1826, allocations: 35.98 kB / 0.5908 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.1827, allocations: 55.36 kB / 0.5908 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1828, allocations: 73.69 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1828, allocations: 0 / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002127/0.183, allocations: 113.4 kB / 0.591 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1831, allocations: 8 kB / 0.591 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1831, allocations: 8.047 kB / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1831, allocations: 0 / 0.591 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.1832, allocations: 12.31 kB / 0.591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1832, allocations: 4 kB / 0.591 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.1833, allocations: 15.84 kB / 0.591 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1833, allocations: 4 kB / 0.591 GB, free: 13.33 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.0001391/0.1834, allocations: 145.8 kB / 0.5912 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1835, allocations: 11.81 kB / 0.5912 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.1835, allocations: 25.41 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.1835, allocations: 4 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1835, allocations: 3.984 kB / 0.5912 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1836, allocations: 3.938 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1838, allocations: 217.5 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1838, allocations: 3.984 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.1838, allocations: 4 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1838, allocations: 0 / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1838, allocations: 11.94 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1838, allocations: 0 / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1838, allocations: 4 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.1841, allocations: 148.8 kB / 0.5916 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1842, allocations: 88.92 kB / 0.5917 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1842, allocations: 8 kB / 0.5917 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.1843, allocations: 3.984 kB / 0.5917 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1843, allocations: 4 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.1843, allocations: 7.938 kB / 0.5917 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001985/0.1845, allocations: 195.2 kB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1845, allocations: 0 / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1848, allocations: 32 kB / 0.5919 GB, free: 12.32 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.001501/0.1863, allocations: 420.3 kB / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1865, allocations: 83.88 kB / 0.5924 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1865, allocations: 0 / 0.5924 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.1867, allocations: 40.05 kB / 0.5924 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.187, allocations: 50.42 kB / 0.5925 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.1876, allocations: 338.9 kB / 0.5928 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1879, allocations: 0.7162 MB / 0.5935 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.961e-05/0.188, allocations: 21.72 kB / 0.5935 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.1881, allocations: 27.44 kB / 0.5936 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1881, allocations: 0 / 0.5936 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.005654/0.1937, allocations: 2.238 MB / 0.5957 GB, free: 8.57 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)