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.001011/0.001011, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001276/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.978/0.978, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003085, allocations: 11.98 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 82.31 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.00318/0.1725, allocations: 1.463 MB / 0.5888 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1749, allocations: 0.9253 MB / 0.5897 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.175, allocations: 7.938 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.1758, allocations: 151.6 kB / 0.5899 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.1762, allocations: 99.67 kB / 0.59 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.1768, allocations: 138.6 kB / 0.5901 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1771, allocations: 147.6 kB / 0.5902 GB, free: 84 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1772, allocations: 25.08 kB / 0.5902 GB, free: 60 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1774, allocations: 59.7 kB / 0.5903 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1775, allocations: 63.75 kB / 0.5904 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1776, allocations: 4 kB / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1777, allocations: 47.97 kB / 0.5904 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-05/0.1779, allocations: 43.83 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.178, allocations: 45.64 kB / 0.5905 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.1783, allocations: 144 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1783, allocations: 4 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1783, allocations: 0 / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1783, allocations: 0 / 0.5906 GB, free: 15.65 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.001021/0.1793, allocations: 472.2 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1794, allocations: 11.97 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.865e-05/0.1795, allocations: 23.81 kB / 0.5911 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.1799, allocations: 243.7 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.18, allocations: 0 / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.18, allocations: 8 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1803, allocations: 88.62 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1803, allocations: 0 / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1803, allocations: 4 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1803, allocations: 0 / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1805, allocations: 35.98 kB / 0.5915 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.1812, allocations: 356.7 kB / 0.5918 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1815, allocations: 74.61 kB / 0.5919 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1816, allocations: 32.84 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1816, allocations: 4 kB / 0.5919 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1819, allocations: 87.42 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 4.718e-06/0.1819, allocations: 3.938 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004692/0.1824, allocations: 141.4 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1825, allocations: 85.05 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.1829, allocations: 262.9 kB / 0.5925 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1829, allocations: 33.7 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.183, allocations: 116.1 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1831, allocations: 27.64 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.1831, allocations: 0 / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1833, allocations: 326.8 kB / 0.593 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.1834, allocations: 27.98 kB / 0.593 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1835, allocations: 55.42 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1837, allocations: 44.03 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1837, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003/0.184, allocations: 109.4 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.184, allocations: 4 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.184, allocations: 4 kB / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1841, allocations: 0 / 0.5932 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1842, allocations: 16.31 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1842, allocations: 3.953 kB / 0.5932 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.1843, allocations: 16.02 kB / 0.5932 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1844, allocations: 3.984 kB / 0.5932 GB, free: 12.73 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.1846, allocations: 146.5 kB / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.1846, allocations: 11.81 kB / 0.5934 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.1847, allocations: 21.39 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.1847, allocations: 4 kB / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1847, allocations: 0 / 0.5934 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1847, allocations: 7.938 kB / 0.5934 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.1851, allocations: 229.4 kB / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1851, allocations: 0 / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.1851, allocations: 4 kB / 0.5936 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1851, allocations: 3.938 kB / 0.5937 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.1851, allocations: 7.984 kB / 0.5937 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.1852, allocations: 4 kB / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1852, allocations: 0 / 0.5937 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.1855, allocations: 140.8 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.1856, allocations: 100.9 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1857, allocations: 4 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.1857, allocations: 4 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1858, allocations: 7.984 kB / 0.5939 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1858, allocations: 4 kB / 0.5939 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002742/0.1861, allocations: 192.6 kB / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1861, allocations: 0 / 0.5941 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004645/0.1866, allocations: 35.98 kB / 0.5941 GB, free: 11.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001505/0.1881, allocations: 428.3 kB / 0.5945 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.1884, allocations: 63.97 kB / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1884, allocations: 0 / 0.5946 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1886, allocations: 48 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.189, allocations: 39.7 kB / 0.5947 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.1897, allocations: 326 kB / 0.595 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1901, allocations: 0.7282 MB / 0.5957 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.1903, allocations: 17.42 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.1903, allocations: 19.42 kB / 0.5957 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1903, allocations: 0 / 0.5957 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.007577/0.1979, allocations: 2.117 MB / 0.5978 GB, free: 8.098 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)