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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7293/0.7293, allocations: 130.6 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 396.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007732/0.0007732, allocations: 90.78 kB / 479 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.912e-05, allocations: 4 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1544, allocations: 81.59 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5713/0.7257, allocations: 115.4 MB / 0.7475 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.726, allocations: 79.53 kB / 0.7476 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.7398, allocations: 5.542 MB / 0.753 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.065e-06/0.7398, allocations: 0 / 0.753 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.7398, allocations: 7.781 kB / 0.753 GB, free: 27.54 MB / 0.5105 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.0005861/0.7404, allocations: 465.7 kB / 0.7534 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7405, allocations: 7.625 kB / 0.7534 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.7405, allocations: 15.53 kB / 0.7535 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.7409, allocations: 251 kB / 0.7537 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.741, allocations: 7.859 kB / 0.7537 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.741, allocations: 6.625 kB / 0.7537 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.7412, allocations: 90.25 kB / 0.7538 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7412, allocations: 4 kB / 0.7538 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.7412, allocations: 11.25 kB / 0.7538 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.7413, allocations: 0 / 0.7538 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.7413, allocations: 34.73 kB / 0.7538 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.7419, allocations: 361.1 kB / 0.7542 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.7421, allocations: 68.3 kB / 0.7543 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.7421, allocations: 35.97 kB / 0.7543 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.7422, allocations: 3.844 kB / 0.7543 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.7423, allocations: 92.62 kB / 0.7544 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.7423, allocations: 3.812 kB / 0.7544 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002519/0.7426, allocations: 114.2 kB / 0.7545 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.7426, allocations: 83.2 kB / 0.7546 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.7429, allocations: 248.5 kB / 0.7548 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.7429, allocations: 25.7 kB / 0.7548 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.743, allocations: 116.3 kB / 0.7549 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.743, allocations: 26.34 kB / 0.755 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.7431, allocations: 3.812 kB / 0.755 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7432, allocations: 327.8 kB / 0.7553 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.7432, allocations: 27.69 kB / 0.7553 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.7433, allocations: 62.12 kB / 0.7554 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.002e-05/0.7434, allocations: 28 kB / 0.7554 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7434, allocations: 0 / 0.7554 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/0.7435, allocations: 114 kB / 0.7555 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7435, allocations: 3.953 kB / 0.7555 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7436, allocations: 11.72 kB / 0.7555 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7436, allocations: 0 / 0.7555 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.55e-05/0.7437, allocations: 9.953 kB / 0.7555 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.7437, allocations: 3.953 kB / 0.7555 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.019e-05/0.7437, allocations: 14.5 kB / 0.7555 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.7438, allocations: 3.219 kB / 0.7555 GB, free: 25.67 MB / 0.5105 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 8.955e-05/0.7439, allocations: 123.5 kB / 0.7557 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.7439, allocations: 15.41 kB / 0.7557 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.7441, allocations: 130.2 kB / 0.7558 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.7441, allocations: 0 / 0.7558 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7441, allocations: 0 / 0.7558 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7441, allocations: 11.8 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.7443, allocations: 229 kB / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7443, allocations: 0 / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.7444, allocations: 3.781 kB / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7444, allocations: 0 / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.7444, allocations: 9.891 kB / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.7444, allocations: 0 / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7444, allocations: 0 / 0.756 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.7446, allocations: 160.2 kB / 0.7562 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.7447, allocations: 102.5 kB / 0.7563 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.7447, allocations: 6.625 kB / 0.7563 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.505e-05/0.7448, allocations: 6.578 kB / 0.7563 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.7448, allocations: 8.578 kB / 0.7563 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.7449, allocations: 3.75 kB / 0.7563 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001676/0.745, allocations: 194.5 kB / 0.7565 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.745, allocations: 0 / 0.7565 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002518/0.7453, allocations: 38.06 kB / 0.7565 GB, free: 25.03 MB / 0.5105 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0009447/0.7462, allocations: 400.3 kB / 0.7569 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.7464, allocations: 80.97 kB / 0.757 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7464, allocations: 0 / 0.757 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.7465, allocations: 36.19 kB / 0.757 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.7467, allocations: 34.3 kB / 0.7571 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.7472, allocations: 225.6 kB / 0.7573 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.7475, allocations: 0.7347 MB / 0.758 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.337e-05/0.7476, allocations: 23 kB / 0.758 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.7476, allocations: 21.83 kB / 0.758 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.7476, allocations: 0 / 0.758 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.004748/0.7524, allocations: 2.258 MB / 0.7603 GB, free: 23 MB / 0.5105 GB 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)