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.001086/0.001086, allocations: 108 kB / 15.61 MB, free: 152 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.001145/0.001145, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.1 MB / 425.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.11 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003408/0.1714, allocations: 1.774 MB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.173, allocations: 1.014 MB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.1732, allocations: 4 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.1738, allocations: 163.5 kB / 0.5873 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.174, allocations: 118.7 kB / 0.5874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1744, allocations: 159.5 kB / 0.5875 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.1747, allocations: 175.6 kB / 0.5877 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1748, allocations: 25.09 kB / 0.5877 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1749, allocations: 67.7 kB / 0.5878 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.175, allocations: 71.69 kB / 0.5878 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1751, allocations: 8 kB / 0.5878 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1752, allocations: 63.95 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.1753, allocations: 35.91 kB / 0.5879 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.1754, allocations: 63.61 kB / 0.588 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1756, allocations: 207.5 kB / 0.5882 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1756, allocations: 4 kB / 0.5882 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1757, allocations: 0 / 0.5882 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1757, allocations: 0 / 0.5882 GB, free: 0.6133 MB / 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.0007499/0.1764, allocations: 496.2 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1765, allocations: 8.031 kB / 0.5887 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.1765, allocations: 16.75 kB / 0.5887 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.1768, allocations: 252.8 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.1769, allocations: 4.312 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.1769, allocations: 16.12 kB / 0.589 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.1771, allocations: 83.38 kB / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1771, allocations: 0 / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1771, allocations: 0 / 0.589 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.1772, allocations: 8 kB / 0.5891 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.1773, allocations: 31.98 kB / 0.5891 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.1778, allocations: 360.7 kB / 0.5894 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1779, allocations: 74.66 kB / 0.5895 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.178, allocations: 32.84 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.178, allocations: 3.938 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1782, allocations: 83.38 kB / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1782, allocations: 0 / 0.5896 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003227/0.1785, allocations: 145.5 kB / 0.5897 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1786, allocations: 89.03 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1789, allocations: 258.9 kB / 0.5901 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1789, allocations: 29.7 kB / 0.5901 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.179, allocations: 112.1 kB / 0.5902 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.179, allocations: 23.66 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.1791, allocations: 37.98 kB / 0.5903 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1792, allocations: 334.8 kB / 0.5906 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.1793, allocations: 24 kB / 0.5906 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.1794, allocations: 59.34 kB / 0.5907 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1795, allocations: 73.64 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1795, allocations: 4.031 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000191/0.1797, allocations: 117.4 kB / 0.5909 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1797, allocations: 8 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1797, allocations: 0 / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1798, allocations: 0 / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.1798, allocations: 11.98 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1799, allocations: 0 / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.1799, allocations: 15.84 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1799, allocations: 4 kB / 0.5909 GB, free: 13.59 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.0001258/0.1801, allocations: 151.1 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1801, allocations: 11.81 kB / 0.5911 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.1801, allocations: 21.39 kB / 0.5911 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1802, allocations: 4 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1802, allocations: 0 / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1802, allocations: 3.938 kB / 0.5911 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1804, allocations: 217.5 kB / 0.5913 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1804, allocations: 4 kB / 0.5913 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.1804, allocations: 7.984 kB / 0.5913 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1804, allocations: 4 kB / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1804, allocations: 11.94 kB / 0.5913 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1804, allocations: 0 / 0.5913 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1804, allocations: 0 / 0.5913 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1807, allocations: 144.8 kB / 0.5915 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.1807, allocations: 92.91 kB / 0.5915 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.1808, allocations: 8 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.832e-05/0.1808, allocations: 3.984 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1809, allocations: 11.98 kB / 0.5916 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1809, allocations: 7.938 kB / 0.5916 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001788/0.1811, allocations: 192.6 kB / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1811, allocations: 0 / 0.5918 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002274/0.1813, allocations: 35.98 kB / 0.5918 GB, free: 12.58 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.0009426/0.1823, allocations: 411.5 kB / 0.5922 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1825, allocations: 83.89 kB / 0.5923 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1825, allocations: 0 / 0.5923 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.489e-05/0.1826, allocations: 39.92 kB / 0.5923 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1829, allocations: 51.42 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.1834, allocations: 299 kB / 0.5926 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1837, allocations: 0.7356 MB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.1838, allocations: 25.72 kB / 0.5934 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1838, allocations: 23.42 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1838, allocations: 0 / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.005616/0.1895, allocations: 2.276 MB / 0.5956 GB, free: 8.805 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)