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.01009/0.01009, allocations: 168.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7849/0.7849, allocations: 132.3 MB / 148.1 MB, free: 272 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 403.2 MB, free: 6.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008734, allocations: 102.2 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 12 kB / 0.5641 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3821, allocations: 81.57 MB / 0.6437 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5737, allocations: 115.5 MB / 0.7566 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.574, allocations: 79.95 kB / 0.7566 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.5894, allocations: 5.578 MB / 0.7621 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5894, allocations: 0 / 0.7621 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.5894, allocations: 7.938 kB / 0.7621 GB, free: 14.76 MB / 0.5417 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.0006538/0.5901, allocations: 492.7 kB / 0.7626 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5902, allocations: 8.031 kB / 0.7626 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.5902, allocations: 15.81 kB / 0.7626 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5906, allocations: 259.6 kB / 0.7628 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5906, allocations: 4 kB / 0.7628 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.5906, allocations: 4 kB / 0.7628 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.5908, allocations: 87.38 kB / 0.7629 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.5908, allocations: 3.938 kB / 0.7629 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.5909, allocations: 7.922 kB / 0.7629 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5909, allocations: 4 kB / 0.7629 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.591, allocations: 39.97 kB / 0.763 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.5915, allocations: 356.8 kB / 0.7633 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.5917, allocations: 78.61 kB / 0.7634 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.5917, allocations: 4 kB / 0.7634 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.5919, allocations: 83.44 kB / 0.7635 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.5919, allocations: 0 / 0.7635 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0004225/0.5923, allocations: 227.8 kB / 0.7637 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.5924, allocations: 85.06 kB / 0.7638 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.5927, allocations: 241.9 kB / 0.764 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.5927, allocations: 37.62 kB / 0.764 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.5928, allocations: 116.1 kB / 0.7641 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.5929, allocations: 27.7 kB / 0.7642 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.5929, allocations: 0 / 0.7642 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.593, allocations: 326.8 kB / 0.7645 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.5931, allocations: 27.98 kB / 0.7645 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.5932, allocations: 63.34 kB / 0.7646 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.5932, allocations: 35.98 kB / 0.7646 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5932, allocations: 4.031 kB / 0.7646 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001949/0.5934, allocations: 121.7 kB / 0.7647 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5935, allocations: 6.031 kB / 0.7647 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5935, allocations: 0 / 0.7647 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5935, allocations: 0 / 0.7647 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.819e-05/0.5936, allocations: 15.98 kB / 0.7647 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5936, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.5937, allocations: 11.89 kB / 0.7648 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.5937, allocations: 7.938 kB / 0.7648 GB, free: 11.75 MB / 0.5417 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 () * 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.000149/0.5939, allocations: 145.9 kB / 0.7649 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5939, allocations: 15.81 kB / 0.7649 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.5942, allocations: 139 kB / 0.765 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5942, allocations: 4 kB / 0.7651 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5942, allocations: 0 / 0.7651 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5942, allocations: 0 / 0.7651 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.5944, allocations: 233.4 kB / 0.7653 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5945, allocations: 3.984 kB / 0.7653 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.5945, allocations: 15.92 kB / 0.7653 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5945, allocations: 4 kB / 0.7653 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5945, allocations: 4 kB / 0.7653 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5945, allocations: 0 / 0.7653 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5945, allocations: 0 / 0.7653 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.5948, allocations: 152.9 kB / 0.7654 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.5949, allocations: 96.92 kB / 0.7655 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.5949, allocations: 3.984 kB / 0.7655 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.595, allocations: 8 kB / 0.7656 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.595, allocations: 7.984 kB / 0.7656 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.595, allocations: 3.984 kB / 0.7656 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001888/0.5952, allocations: 192.6 kB / 0.7657 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5952, allocations: 4 kB / 0.7658 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002791/0.5955, allocations: 43.86 kB / 0.7658 GB, free: 10.59 MB / 0.5417 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) * Number of clocked states: 0 () * 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.001028/0.5966, allocations: 429.2 kB / 0.7662 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.5968, allocations: 83.89 kB / 0.7663 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.5968, allocations: 0 / 0.7663 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.379e-05/0.5969, allocations: 47.86 kB / 0.7663 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.5973, allocations: 37.75 kB / 0.7664 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/0.5979, allocations: 330.5 kB / 0.7667 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.5982, allocations: 0.7282 MB / 0.7674 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.684e-05/0.5983, allocations: 29.38 kB / 0.7674 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.5983, allocations: 19.42 kB / 0.7674 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.5983, allocations: 0 / 0.7674 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of Templates: time 0.005412/0.6038, allocations: 2.263 MB / 0.7696 GB, free: 6.773 MB / 0.5417 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)