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.006935/0.006935, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.001372/0.001372, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4313, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002925/0.4343, allocations: 1.78 MB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.4357, allocations: 1.018 MB / 0.6674 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.4358, allocations: 1.25 kB / 0.6674 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.4364, allocations: 170.3 kB / 0.6675 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.4367, allocations: 112.8 kB / 0.6676 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.4371, allocations: 168.2 kB / 0.6678 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4373, allocations: 175.8 kB / 0.668 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4374, allocations: 24.8 kB / 0.668 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.625e-05/0.4375, allocations: 68 kB / 0.6681 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4376, allocations: 68.22 kB / 0.6681 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.4377, allocations: 8.562 kB / 0.6681 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.4378, allocations: 67.02 kB / 0.6682 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.4379, allocations: 43.27 kB / 0.6682 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.438, allocations: 56.72 kB / 0.6683 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.4382, allocations: 197.2 kB / 0.6685 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4383, allocations: 4 kB / 0.6685 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4383, allocations: 0 / 0.6685 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4383, allocations: 0 / 0.6685 GB, free: 4.699 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.0006008/0.4389, allocations: 0.5032 MB / 0.669 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4389, allocations: 10.41 kB / 0.669 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.439, allocations: 15.12 kB / 0.669 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.4392, allocations: 236.5 kB / 0.6692 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4392, allocations: 11.36 kB / 0.6692 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4393, allocations: 11.16 kB / 0.6693 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.4394, allocations: 87.38 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4395, allocations: 0 / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4395, allocations: 5.219 kB / 0.6693 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.4395, allocations: 10.45 kB / 0.6694 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.4396, allocations: 31.08 kB / 0.6694 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.44, allocations: 360.1 kB / 0.6697 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.4402, allocations: 69.55 kB / 0.6698 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.4403, allocations: 34.25 kB / 0.6698 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4403, allocations: 1.5 kB / 0.6698 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.4405, allocations: 84.59 kB / 0.6699 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.4405, allocations: 4 kB / 0.6699 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000327/0.4408, allocations: 148 kB / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.4409, allocations: 78.77 kB / 0.6701 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4411, allocations: 267.7 kB / 0.6704 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.4411, allocations: 31.98 kB / 0.6704 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4412, allocations: 112.2 kB / 0.6705 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.4412, allocations: 19.2 kB / 0.6705 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.4413, allocations: 31.86 kB / 0.6706 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.4413, allocations: 335.2 kB / 0.6709 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.4414, allocations: 27.34 kB / 0.6709 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.4415, allocations: 56.55 kB / 0.671 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.4416, allocations: 76.94 kB / 0.671 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4416, allocations: 4 kB / 0.671 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001906/0.4418, allocations: 128.1 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4418, allocations: 4.156 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4418, allocations: 1.031 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4419, allocations: 1.062 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.4419, allocations: 9.094 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.442, allocations: 1.312 kB / 0.6712 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.009e-05/0.442, allocations: 19.77 kB / 0.6712 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.442, allocations: 2.75 kB / 0.6712 GB, free: 2.238 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 9.775e-05/0.4421, allocations: 144.6 kB / 0.6713 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.4422, allocations: 18.66 kB / 0.6714 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.4422, allocations: 20.14 kB / 0.6714 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4422, allocations: 3.031 kB / 0.6714 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4422, allocations: 0 / 0.6714 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4423, allocations: 5.031 kB / 0.6714 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.4424, allocations: 222.6 kB / 0.6716 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4424, allocations: 0 / 0.6716 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.4424, allocations: 7.969 kB / 0.6716 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4424, allocations: 4 kB / 0.6716 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.4425, allocations: 1.188 kB / 0.6716 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4425, allocations: 1.156 kB / 0.6716 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4425, allocations: 3.984 kB / 0.6716 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.4427, allocations: 143.3 kB / 0.6718 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.4427, allocations: 96.75 kB / 0.6718 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.4428, allocations: 9.328 kB / 0.6719 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.4428, allocations: 2.594 kB / 0.6719 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.4428, allocations: 7.625 kB / 0.6719 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4429, allocations: 10.83 kB / 0.6719 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001604/0.443, allocations: 197.7 kB / 0.6721 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.443, allocations: 0 / 0.6721 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002527/0.4433, allocations: 26.81 kB / 0.6721 GB, free: 1.457 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.0009086/0.4442, allocations: 422.8 kB / 0.6725 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4444, allocations: 83.16 kB / 0.6726 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4444, allocations: 1.062 kB / 0.6726 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.4445, allocations: 33.92 kB / 0.6726 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4448, allocations: 42.27 kB / 0.6726 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.4453, allocations: 312.6 kB / 0.6729 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.4454, allocations: 0.7273 MB / 0.6737 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.4455, allocations: 17.27 kB / 0.6737 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.4455, allocations: 20.84 kB / 0.6737 GB, free: 224 kB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4456, allocations: 0 / 0.6737 GB, free: 224 kB / 0.4981 GB Notification: Performance of Templates: time 0.005348/0.4509, allocations: 2.305 MB / 0.6759 GB, free: 15.06 MB / 0.5137 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)