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.000846/0.000846, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009393/0.0009394, allocations: 172.7 kB / 15.95 MB, free: 208 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.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.659/0.659, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 14.28 kB / 0.5034 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.328, allocations: 81.58 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.001555/0.3296, allocations: 1.474 MB / 0.5845 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3307, allocations: 0.9337 MB / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.3307, allocations: 0 / 0.5854 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.3312, allocations: 160.5 kB / 0.5856 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.3314, allocations: 94.25 kB / 0.5857 GB, free: 2.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3317, allocations: 135.7 kB / 0.5858 GB, free: 2.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3319, allocations: 143.8 kB / 0.5859 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.701e-05/0.332, allocations: 25.7 kB / 0.586 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.3321, allocations: 57.64 kB / 0.586 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.722e-05/0.3322, allocations: 62.88 kB / 0.5861 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3322, allocations: 2.875 kB / 0.5861 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3323, allocations: 49.69 kB / 0.5861 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3324, allocations: 41.02 kB / 0.5862 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.3325, allocations: 43.83 kB / 0.5862 GB, free: 1.938 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3326, allocations: 154.9 kB / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3327, allocations: 0 / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3327, allocations: 0 / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.3327, allocations: 1.219 kB / 0.5864 GB, free: 1.891 MB / 430.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.0004867/0.3332, allocations: 475.1 kB / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.3332, allocations: 8.5 kB / 0.5868 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.3332, allocations: 20.97 kB / 0.5868 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3335, allocations: 236.4 kB / 0.5871 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3335, allocations: 5.672 kB / 0.5871 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3335, allocations: 7.125 kB / 0.5871 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3337, allocations: 87.94 kB / 0.5872 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3337, allocations: 0 / 0.5872 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3337, allocations: 5.094 kB / 0.5872 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3337, allocations: 3.25 kB / 0.5872 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.3338, allocations: 40.14 kB / 0.5872 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.3342, allocations: 362.4 kB / 0.5876 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.3343, allocations: 74.27 kB / 0.5876 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.794e-05/0.3344, allocations: 36.27 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.3344, allocations: 2.375 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3346, allocations: 83.2 kB / 0.5877 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.3346, allocations: 0 / 0.5877 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000281/0.3349, allocations: 152.1 kB / 0.5879 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.3349, allocations: 78.27 kB / 0.588 GB, free: 496 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3351, allocations: 266 kB / 0.5882 GB, free: 336 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3352, allocations: 27.52 kB / 0.5882 GB, free: 304 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.3352, allocations: 115.6 kB / 0.5883 GB, free: 196 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3352, allocations: 18.08 kB / 0.5884 GB, free: 184 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3352, allocations: 4 kB / 0.5884 GB, free: 180 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.3353, allocations: 329.7 kB / 0.5887 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.3354, allocations: 29.97 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.3355, allocations: 58.5 kB / 0.5888 GB, free: 15.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.3356, allocations: 40.98 kB / 0.5888 GB, free: 15.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3356, allocations: 0 / 0.5888 GB, free: 15.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001923/0.3358, allocations: 117.6 kB / 0.5889 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3358, allocations: 9.719 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3358, allocations: 4.641 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.3358, allocations: 1.375 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.3359, allocations: 14.28 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3359, allocations: 1.094 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.377e-05/0.336, allocations: 10.33 kB / 0.589 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.336, allocations: 2.75 kB / 0.589 GB, free: 15.7 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 ($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.0001087/0.3361, allocations: 142.4 kB / 0.5891 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3361, allocations: 22.19 kB / 0.5891 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.3362, allocations: 19.25 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3362, allocations: 3.391 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3362, allocations: 3.953 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3362, allocations: 5.828 kB / 0.5891 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.3364, allocations: 219 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3364, allocations: 0 / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.3364, allocations: 4.219 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3364, allocations: 0.5625 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3364, allocations: 2.234 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3364, allocations: 4.906 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3364, allocations: 0.6562 kB / 0.5894 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.3367, allocations: 148.5 kB / 0.5895 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3367, allocations: 95.45 kB / 0.5896 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3368, allocations: 6.719 kB / 0.5896 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.3368, allocations: 8.625 kB / 0.5896 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.3368, allocations: 9.781 kB / 0.5896 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3369, allocations: 6.719 kB / 0.5896 GB, free: 15.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.337, allocations: 193.4 kB / 0.5898 GB, free: 15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.337, allocations: 0 / 0.5898 GB, free: 15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.3373, allocations: 36.28 kB / 0.5899 GB, free: 14.98 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 (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.0008203/0.3381, allocations: 418.8 kB / 0.5903 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3383, allocations: 73.33 kB / 0.5903 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3383, allocations: 4.062 kB / 0.5903 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.3384, allocations: 37.3 kB / 0.5904 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3386, allocations: 42.06 kB / 0.5904 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.3391, allocations: 319.6 kB / 0.5907 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3393, allocations: 0.7256 MB / 0.5914 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.839e-05/0.3394, allocations: 31.2 kB / 0.5914 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3395, allocations: 17.06 kB / 0.5915 GB, free: 13.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3395, allocations: 0 / 0.5915 GB, free: 13.83 MB / 446.1 MB Notification: Performance of Templates: time 0.004773/0.3442, allocations: 2.109 MB / 0.5935 GB, free: 13.61 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)