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.001136/0.001136, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001102/0.001102, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.824/0.824, allocations: 135.1 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3509, allocations: 80.9 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.0027/0.3537, allocations: 1.78 MB / 0.5867 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.355, allocations: 1.019 MB / 0.5877 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.3551, allocations: 1.031 kB / 0.5877 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.3557, allocations: 160.7 kB / 0.5879 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.3559, allocations: 114 kB / 0.588 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.3563, allocations: 174.5 kB / 0.5882 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3565, allocations: 161.2 kB / 0.5883 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3566, allocations: 38.98 kB / 0.5884 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.3567, allocations: 63.75 kB / 0.5884 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3568, allocations: 69.64 kB / 0.5885 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.3568, allocations: 7.125 kB / 0.5885 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.357, allocations: 61.03 kB / 0.5886 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.357, allocations: 40.41 kB / 0.5886 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.3571, allocations: 59.64 kB / 0.5886 GB, free: 22.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3573, allocations: 200.2 kB / 0.5888 GB, free: 22.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3573, allocations: 0 / 0.5888 GB, free: 22.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3574, allocations: 0 / 0.5888 GB, free: 22.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3574, allocations: 0.9062 kB / 0.5888 GB, free: 22.43 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.0005361/0.3579, allocations: 0.4885 MB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.3579, allocations: 12.02 kB / 0.5893 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.358, allocations: 19.56 kB / 0.5893 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3582, allocations: 246 kB / 0.5896 GB, free: 21.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3582, allocations: 5.562 kB / 0.5896 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3583, allocations: 7.75 kB / 0.5896 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3584, allocations: 93.56 kB / 0.5897 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3585, allocations: 0 / 0.5897 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3585, allocations: 1.375 kB / 0.5897 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.3585, allocations: 2.625 kB / 0.5897 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/0.3586, allocations: 40.56 kB / 0.5897 GB, free: 21.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.359, allocations: 345.7 kB / 0.5901 GB, free: 21.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.3592, allocations: 84.55 kB / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.3592, allocations: 33.84 kB / 0.5902 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3593, allocations: 0.5625 kB / 0.5902 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.3594, allocations: 88.67 kB / 0.5903 GB, free: 21.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.572e-06/0.3594, allocations: 0 / 0.5903 GB, free: 21.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000293/0.3597, allocations: 142 kB / 0.5904 GB, free: 20.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.3598, allocations: 77.73 kB / 0.5905 GB, free: 20.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.36, allocations: 267.5 kB / 0.5907 GB, free: 20.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.36, allocations: 29.81 kB / 0.5907 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.36, allocations: 121.7 kB / 0.5909 GB, free: 20.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.3601, allocations: 27.64 kB / 0.5909 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.3601, allocations: 25.7 kB / 0.5909 GB, free: 20.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.3602, allocations: 331.3 kB / 0.5912 GB, free: 19.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.3602, allocations: 29.8 kB / 0.5913 GB, free: 19.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.3603, allocations: 55.42 kB / 0.5913 GB, free: 19.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3604, allocations: 87.8 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3604, allocations: 0 / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001666/0.3606, allocations: 115.4 kB / 0.5915 GB, free: 19.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3606, allocations: 7.984 kB / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3606, allocations: 0 / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3606, allocations: 0 / 0.5915 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.792e-05/0.3607, allocations: 12 kB / 0.5915 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3607, allocations: 0.5 kB / 0.5915 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.3608, allocations: 16.28 kB / 0.5915 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.3608, allocations: 3.984 kB / 0.5915 GB, free: 19.62 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 8.834e-05/0.3609, allocations: 145.2 kB / 0.5917 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3609, allocations: 17.06 kB / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.361, allocations: 13.41 kB / 0.5917 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.361, allocations: 7.984 kB / 0.5917 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.361, allocations: 0.5938 kB / 0.5917 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.361, allocations: 5.25 kB / 0.5917 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.3611, allocations: 221.6 kB / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3611, allocations: 0 / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.3612, allocations: 3.938 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3612, allocations: 5.25 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3612, allocations: 0 / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3612, allocations: 0 / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3612, allocations: 3.75 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3614, allocations: 160.8 kB / 0.5921 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.3614, allocations: 96.8 kB / 0.5922 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3615, allocations: 4 kB / 0.5922 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.3615, allocations: 11.92 kB / 0.5922 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.3616, allocations: 4 kB / 0.5922 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3616, allocations: 8.562 kB / 0.5922 GB, free: 18.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3617, allocations: 193.2 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3617, allocations: 4 kB / 0.5924 GB, free: 18.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.362, allocations: 28.53 kB / 0.5924 GB, free: 18.62 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.0008987/0.3629, allocations: 412.5 kB / 0.5928 GB, free: 18.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3631, allocations: 75.89 kB / 0.5929 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3631, allocations: 5.344 kB / 0.5929 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.3632, allocations: 39.92 kB / 0.5929 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3635, allocations: 41.84 kB / 0.593 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.3639, allocations: 344.7 kB / 0.5933 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.364, allocations: 0.7263 MB / 0.594 GB, free: 17.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.3641, allocations: 19.38 kB / 0.594 GB, free: 17.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3641, allocations: 0 / 0.594 GB, free: 17.13 MB / 446.1 MB Notification: Performance of Templates: time 0.003563/0.3676, allocations: 2.549 MB / 0.5965 GB, free: 14.64 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)