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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.007806/0.007806, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7474/0.7474, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.603/1.603, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009312/0.0009316, allocations: 96.3 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 15.94 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.42, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5695, allocations: 115.7 MB / 0.7625 GB, free: 240 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5698, allocations: 87.83 kB / 0.7626 GB, free: 152 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.5844, allocations: 5.57 MB / 0.768 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5844, allocations: 0 / 0.768 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.5844, allocations: 0 / 0.768 GB, free: 10.57 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.0005357/0.585, allocations: 0.4923 MB / 0.7685 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.585, allocations: 8.031 kB / 0.7685 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.5851, allocations: 15.81 kB / 0.7685 GB, free: 10 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.5854, allocations: 259.6 kB / 0.7688 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5855, allocations: 0 / 0.7688 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5855, allocations: 8 kB / 0.7688 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5857, allocations: 91.36 kB / 0.7689 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5857, allocations: 0 / 0.7689 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5857, allocations: 3.938 kB / 0.7689 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5858, allocations: 8 kB / 0.7689 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.5858, allocations: 31.98 kB / 0.7689 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.5863, allocations: 360.8 kB / 0.7693 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.5865, allocations: 86.61 kB / 0.7693 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.5866, allocations: 3.938 kB / 0.7693 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.5867, allocations: 79.44 kB / 0.7694 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.5867, allocations: 0 / 0.7694 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.0003467/0.5871, allocations: 235.8 kB / 0.7696 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.5871, allocations: 81.11 kB / 0.7697 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.5874, allocations: 245.8 kB / 0.77 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5874, allocations: 33.69 kB / 0.77 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.5875, allocations: 112.2 kB / 0.7701 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5875, allocations: 23.66 kB / 0.7701 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.5875, allocations: 4 kB / 0.7701 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5876, allocations: 322.8 kB / 0.7704 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.5877, allocations: 31.98 kB / 0.7705 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.5878, allocations: 67.34 kB / 0.7705 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.5879, allocations: 31.98 kB / 0.7706 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5879, allocations: 0 / 0.7706 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001985/0.5881, allocations: 117.4 kB / 0.7707 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5881, allocations: 4 kB / 0.7707 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5881, allocations: 384 / 0.7707 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5881, allocations: 8.062 kB / 0.7707 GB, free: 7.586 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.5882, allocations: 11.98 kB / 0.7707 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5882, allocations: 0 / 0.7707 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.5883, allocations: 15.88 kB / 0.7707 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5883, allocations: 12.09 kB / 0.7707 GB, free: 7.547 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.0001229/0.5884, allocations: 145.8 kB / 0.7709 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5885, allocations: 15.81 kB / 0.7709 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.5887, allocations: 139 kB / 0.771 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.5887, allocations: 0 / 0.771 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5887, allocations: 4 kB / 0.771 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5888, allocations: 0 / 0.771 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.589, allocations: 233.4 kB / 0.7712 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.589, allocations: 4 kB / 0.7712 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.589, allocations: 11.92 kB / 0.7712 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.589, allocations: 0 / 0.7712 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.589, allocations: 0 / 0.7712 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.589, allocations: 0 / 0.7712 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.589, allocations: 0 / 0.7712 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.5893, allocations: 164.9 kB / 0.7714 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.846e-05/0.5894, allocations: 96.92 kB / 0.7715 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.5894, allocations: 3.984 kB / 0.7715 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/0.5895, allocations: 8 kB / 0.7715 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.5895, allocations: 7.984 kB / 0.7715 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.5895, allocations: 4 kB / 0.7715 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001881/0.5897, allocations: 192.6 kB / 0.7717 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5897, allocations: 0 / 0.7717 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002457/0.59, allocations: 47.86 kB / 0.7718 GB, free: 6.391 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.0009112/0.5909, allocations: 436.4 kB / 0.7722 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.5911, allocations: 75.97 kB / 0.7722 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5911, allocations: 0 / 0.7722 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.5912, allocations: 39.92 kB / 0.7723 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.5914, allocations: 47.86 kB / 0.7723 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.592, allocations: 330.4 kB / 0.7726 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5922, allocations: 0.7243 MB / 0.7733 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.127e-05/0.5923, allocations: 25.38 kB / 0.7734 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.5924, allocations: 23.42 kB / 0.7734 GB, free: 4.809 MB / 0.5417 GB Notification: Performance of SimCode: time 2.4e-07/0.5924, allocations: 4 kB / 0.7734 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of Templates: time 0.004841/0.5972, allocations: 2.252 MB / 0.7756 GB, free: 2.578 MB / 0.5417 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)