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.0008162/0.0008161, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005015/0.005015, allocations: 169 kB / 16.26 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 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 1.036/1.036, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 82.32 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002197/0.1791, allocations: 1.482 MB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1809, allocations: 0.9871 MB / 0.5904 GB, free: 132 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1811, allocations: 3.938 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.1817, allocations: 158.7 kB / 0.5905 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.182, allocations: 103.7 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.1825, allocations: 151.4 kB / 0.5908 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1827, allocations: 159.6 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1828, allocations: 37.08 kB / 0.591 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.183, allocations: 55.66 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1831, allocations: 67.73 kB / 0.5911 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1831, allocations: 4 kB / 0.5911 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1833, allocations: 47.92 kB / 0.5911 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1833, allocations: 39.89 kB / 0.5912 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.1834, allocations: 77.31 kB / 0.5913 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.1837, allocations: 191.6 kB / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1837, allocations: 0 / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1837, allocations: 0 / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1837, allocations: 0 / 0.5914 GB, free: 15.05 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.0006535/0.1844, allocations: 484.3 kB / 0.5919 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1844, allocations: 8.031 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.1845, allocations: 16.75 kB / 0.5919 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1848, allocations: 248.9 kB / 0.5922 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1848, allocations: 384 / 0.5922 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1849, allocations: 8.125 kB / 0.5922 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.185, allocations: 95.31 kB / 0.5923 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1851, allocations: 0 / 0.5923 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1851, allocations: 0 / 0.5923 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.1851, allocations: 4 kB / 0.5923 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.1852, allocations: 35.98 kB / 0.5923 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1857, allocations: 352.6 kB / 0.5926 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1859, allocations: 78.62 kB / 0.5927 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.186, allocations: 32.84 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.186, allocations: 3.938 kB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.1862, allocations: 87.31 kB / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1862, allocations: 0 / 0.5928 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003253/0.1865, allocations: 141.6 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.1866, allocations: 89.05 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.1868, allocations: 262.9 kB / 0.5933 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1869, allocations: 29.7 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.1869, allocations: 120 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.187, allocations: 19.75 kB / 0.5935 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.187, allocations: 21.7 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1871, allocations: 330.8 kB / 0.5938 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.1872, allocations: 31.98 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/0.1873, allocations: 51.42 kB / 0.5939 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1874, allocations: 77.62 kB / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1874, allocations: 0 / 0.5939 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001979/0.1876, allocations: 113.8 kB / 0.5941 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.1877, allocations: 12.06 kB / 0.5941 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1877, allocations: 0 / 0.5941 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1877, allocations: 3.938 kB / 0.5941 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.1878, allocations: 8 kB / 0.5941 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1878, allocations: 4 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.1878, allocations: 19.83 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1879, allocations: 0 / 0.5941 GB, free: 12.05 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.000126/0.188, allocations: 142.6 kB / 0.5942 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.188, allocations: 19.81 kB / 0.5943 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1881, allocations: 17.39 kB / 0.5943 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1881, allocations: 4 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1881, allocations: 0 / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1881, allocations: 3.938 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1883, allocations: 221.5 kB / 0.5945 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.1883, allocations: 11.94 kB / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.1883, allocations: 4 kB / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1883, allocations: 4 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1884, allocations: 3.938 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1884, allocations: 4 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1884, allocations: 0 / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1886, allocations: 144.8 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.1887, allocations: 100.9 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1887, allocations: 0 / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.1888, allocations: 4 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1888, allocations: 7.984 kB / 0.5948 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1888, allocations: 11.94 kB / 0.5948 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001762/0.189, allocations: 192.6 kB / 0.595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.189, allocations: 0 / 0.595 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.1893, allocations: 35.89 kB / 0.595 GB, free: 11.04 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.0009467/0.1902, allocations: 417.7 kB / 0.5954 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1904, allocations: 75.91 kB / 0.5955 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1904, allocations: 4.062 kB / 0.5955 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.1905, allocations: 35.98 kB / 0.5955 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1908, allocations: 51.59 kB / 0.5955 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.1914, allocations: 330.2 kB / 0.5959 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1916, allocations: 0.7281 MB / 0.5966 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.1918, allocations: 25.72 kB / 0.5966 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.1918, allocations: 23.44 kB / 0.5966 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1918, allocations: 0 / 0.5966 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of Templates: time 0.005222/0.197, allocations: 2.152 MB / 0.5987 GB, free: 7.367 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)