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.001193/0.001193, allocations: 110.2 kB / 15.99 MB, free: 6.359 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.001251/0.001251, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8231/0.8231, allocations: 135.2 MB / 425.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.88 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 80.9 MB / 0.5846 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003083/0.3576, allocations: 1.842 MB / 0.5863 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3591, allocations: 1.008 MB / 0.5873 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.3592, allocations: 1.219 kB / 0.5873 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.3598, allocations: 155.1 kB / 0.5875 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.3601, allocations: 108.2 kB / 0.5876 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.3605, allocations: 156.6 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3607, allocations: 165.9 kB / 0.5879 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3608, allocations: 24.92 kB / 0.5879 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.361, allocations: 82.25 kB / 0.588 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.3611, allocations: 62.64 kB / 0.5881 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.3611, allocations: 8.156 kB / 0.5881 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.3612, allocations: 63.73 kB / 0.5881 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.3613, allocations: 43.06 kB / 0.5882 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.3614, allocations: 61.92 kB / 0.5882 GB, free: 22.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3616, allocations: 156.4 kB / 0.5884 GB, free: 22.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3616, allocations: 0 / 0.5884 GB, free: 22.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3616, allocations: 2.156 kB / 0.5884 GB, free: 22.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3616, allocations: 0 / 0.5884 GB, free: 22.16 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.000665/0.3623, allocations: 494.2 kB / 0.5888 GB, free: 21.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3624, allocations: 9.766 kB / 0.5889 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.3624, allocations: 20.02 kB / 0.5889 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.3627, allocations: 253.3 kB / 0.5891 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3627, allocations: 1.906 kB / 0.5891 GB, free: 21.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.3627, allocations: 12.16 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.3629, allocations: 89.59 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3629, allocations: 0 / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.363, allocations: 2.219 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.363, allocations: 3.156 kB / 0.5892 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.3631, allocations: 39.8 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.3635, allocations: 348.2 kB / 0.5896 GB, free: 20.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3637, allocations: 83.5 kB / 0.5897 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.3638, allocations: 38.56 kB / 0.5897 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3638, allocations: 1.594 kB / 0.5897 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.364, allocations: 82.62 kB / 0.5898 GB, free: 20.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.364, allocations: 0 / 0.5898 GB, free: 20.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003285/0.3643, allocations: 146.2 kB / 0.5899 GB, free: 20.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.3644, allocations: 78.7 kB / 0.59 GB, free: 20.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.3646, allocations: 268 kB / 0.5903 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3646, allocations: 28.23 kB / 0.5903 GB, free: 20.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.3647, allocations: 116.5 kB / 0.5904 GB, free: 20.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3647, allocations: 24.14 kB / 0.5904 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3648, allocations: 23.84 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.3649, allocations: 336.3 kB / 0.5908 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.3649, allocations: 26.42 kB / 0.5908 GB, free: 19.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.365, allocations: 63.48 kB / 0.5908 GB, free: 19.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3651, allocations: 68.45 kB / 0.5909 GB, free: 19.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3651, allocations: 1.125 kB / 0.5909 GB, free: 19.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001869/0.3653, allocations: 120.7 kB / 0.591 GB, free: 19.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3654, allocations: 8.438 kB / 0.591 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3654, allocations: 2.344 kB / 0.591 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3654, allocations: 1.156 kB / 0.591 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.3655, allocations: 17.02 kB / 0.5911 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3655, allocations: 1.094 kB / 0.5911 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.3656, allocations: 20.36 kB / 0.5911 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.3656, allocations: 2.469 kB / 0.5911 GB, free: 19.73 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 0.0001044/0.3657, allocations: 140.8 kB / 0.5912 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3657, allocations: 15.88 kB / 0.5912 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3658, allocations: 19.67 kB / 0.5912 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3658, allocations: 4.156 kB / 0.5913 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3658, allocations: 4.188 kB / 0.5913 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3658, allocations: 3.938 kB / 0.5913 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3659, allocations: 217.6 kB / 0.5915 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.366, allocations: 5.109 kB / 0.5915 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.366, allocations: 8 kB / 0.5915 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.366, allocations: 0.625 kB / 0.5915 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.366, allocations: 0 / 0.5915 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.366, allocations: 5.062 kB / 0.5915 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.366, allocations: 0 / 0.5915 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3662, allocations: 150 kB / 0.5916 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.3662, allocations: 92.86 kB / 0.5917 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.3663, allocations: 4.562 kB / 0.5917 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.3663, allocations: 1.031 kB / 0.5917 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3664, allocations: 11.98 kB / 0.5917 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3664, allocations: 10.03 kB / 0.5917 GB, free: 19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3665, allocations: 191.2 kB / 0.5919 GB, free: 18.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3665, allocations: 0 / 0.5919 GB, free: 18.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.3668, allocations: 35.98 kB / 0.592 GB, free: 18.78 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.001447/0.3682, allocations: 425.8 kB / 0.5924 GB, free: 18.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3684, allocations: 76.53 kB / 0.5924 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3684, allocations: 0.9375 kB / 0.5924 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.3685, allocations: 44.11 kB / 0.5925 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3688, allocations: 39.88 kB / 0.5925 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.3693, allocations: 368.5 kB / 0.5929 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3694, allocations: 0.7253 MB / 0.5936 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3695, allocations: 21.59 kB / 0.5936 GB, free: 17.25 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3695, allocations: 0 / 0.5936 GB, free: 17.25 MB / 446.1 MB Notification: Performance of Templates: time 0.003947/0.3734, allocations: 2.55 MB / 0.5961 GB, free: 14.75 MB / 446.1 MB 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)