Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001187/0.001187, allocations: 115.9 kB / 16.37 MB, free: 6.004 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.001157/0.001157, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8143/0.8143, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3834, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002882/0.3863, allocations: 1.783 MB / 0.5832 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3877, allocations: 1.029 MB / 0.5842 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.3878, allocations: 4.844 kB / 0.5842 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.3884, allocations: 166.8 kB / 0.5844 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.3886, allocations: 109.7 kB / 0.5845 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3891, allocations: 174.5 kB / 0.5847 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.3893, allocations: 164.9 kB / 0.5848 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3894, allocations: 21.39 kB / 0.5848 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.3895, allocations: 70.7 kB / 0.5849 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.3896, allocations: 68.09 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3896, allocations: 8.375 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3897, allocations: 67.02 kB / 0.5851 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.3898, allocations: 43.75 kB / 0.5851 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.3899, allocations: 61.23 kB / 0.5852 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3901, allocations: 200.4 kB / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3901, allocations: 4.5 kB / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3901, allocations: 1.5 kB / 0.5853 GB, free: 24.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3902, allocations: 2.594 kB / 0.5854 GB, free: 24.73 MB / 446.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.0005687/0.3907, allocations: 495.3 kB / 0.5858 GB, free: 24.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3908, allocations: 8.594 kB / 0.5858 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3908, allocations: 21.19 kB / 0.5859 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3911, allocations: 244.7 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3911, allocations: 2.625 kB / 0.5861 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3911, allocations: 10.84 kB / 0.5861 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3913, allocations: 89.03 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3913, allocations: 2.875 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3913, allocations: 0 / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.3914, allocations: 3.688 kB / 0.5862 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.3915, allocations: 35.09 kB / 0.5862 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.3919, allocations: 364.3 kB / 0.5866 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3921, allocations: 71.11 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.3921, allocations: 42.62 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3922, allocations: 7.328 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3923, allocations: 84.09 kB / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3923, allocations: 1.406 kB / 0.5868 GB, free: 23.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003019/0.3926, allocations: 140.8 kB / 0.5869 GB, free: 23.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3927, allocations: 79.52 kB / 0.587 GB, free: 23.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3929, allocations: 264.4 kB / 0.5872 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3929, allocations: 27.55 kB / 0.5873 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.393, allocations: 121 kB / 0.5874 GB, free: 22.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.393, allocations: 21.03 kB / 0.5874 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.393, allocations: 30.69 kB / 0.5874 GB, free: 22.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3931, allocations: 331 kB / 0.5877 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.015e-05/0.3932, allocations: 27.61 kB / 0.5878 GB, free: 22.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.3932, allocations: 60.27 kB / 0.5878 GB, free: 22.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3934, allocations: 75.97 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3934, allocations: 1.734 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001776/0.3935, allocations: 119.3 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3936, allocations: 5.594 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3936, allocations: 5.969 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3936, allocations: 0 / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.3937, allocations: 9.5 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3937, allocations: 3.875 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.3938, allocations: 19.48 kB / 0.588 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3938, allocations: 2.781 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB 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 9.219e-05/0.3939, allocations: 147.3 kB / 0.5882 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3939, allocations: 16.56 kB / 0.5882 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.394, allocations: 16.34 kB / 0.5882 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.394, allocations: 6.953 kB / 0.5882 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.394, allocations: 1.75 kB / 0.5882 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.394, allocations: 3.938 kB / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.3941, allocations: 219.2 kB / 0.5884 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3941, allocations: 0 / 0.5884 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.3942, allocations: 4.219 kB / 0.5884 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3942, allocations: 0.75 kB / 0.5884 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3942, allocations: 1.125 kB / 0.5885 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3942, allocations: 2.594 kB / 0.5885 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3942, allocations: 4 kB / 0.5885 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3944, allocations: 152.6 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3944, allocations: 97.83 kB / 0.5887 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.3945, allocations: 1.344 kB / 0.5887 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.734e-05/0.3945, allocations: 8.578 kB / 0.5887 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3946, allocations: 2.375 kB / 0.5887 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3946, allocations: 10.2 kB / 0.5887 GB, free: 21.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3947, allocations: 192.6 kB / 0.5889 GB, free: 21.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3947, allocations: 0.5938 kB / 0.5889 GB, free: 21.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.395, allocations: 33.12 kB / 0.5889 GB, free: 21.53 MB / 446.1 MB 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.0009047/0.3959, allocations: 421.3 kB / 0.5893 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.3961, allocations: 75.75 kB / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3961, allocations: 0 / 0.5894 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.3962, allocations: 38.02 kB / 0.5894 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3965, allocations: 38.56 kB / 0.5895 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.397, allocations: 293.9 kB / 0.5898 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.3971, allocations: 0.7289 MB / 0.5905 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.941e-05/0.3972, allocations: 27.61 kB / 0.5905 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3973, allocations: 15.66 kB / 0.5905 GB, free: 20.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3973, allocations: 5.031 kB / 0.5905 GB, free: 20.35 MB / 446.1 MB Notification: Performance of Templates: time 0.005196/0.4025, allocations: 2.277 MB / 0.5927 GB, free: 18.56 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)