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.006009/0.006009, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001158/0.001158, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.918/0.918, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.84 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4163, allocations: 80.91 MB / 0.6646 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002734/0.419, allocations: 1.774 MB / 0.6664 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.4204, allocations: 1.025 MB / 0.6674 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.4205, allocations: 3.938 kB / 0.6674 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.421, allocations: 166.6 kB / 0.6675 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.4213, allocations: 117.7 kB / 0.6677 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.4217, allocations: 161.2 kB / 0.6678 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.4219, allocations: 171.5 kB / 0.668 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.4221, allocations: 25.31 kB / 0.668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.4222, allocations: 71.31 kB / 0.6681 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.4223, allocations: 73.09 kB / 0.6681 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.4223, allocations: 7.656 kB / 0.6681 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.4225, allocations: 63.98 kB / 0.6682 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.4226, allocations: 43.75 kB / 0.6682 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.4227, allocations: 64.72 kB / 0.6683 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.423, allocations: 191.2 kB / 0.6685 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.423, allocations: 0 / 0.6685 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4231, allocations: 3.984 kB / 0.6685 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4231, allocations: 0 / 0.6685 GB, free: 4.723 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.0007403/0.4238, allocations: 0.4938 MB / 0.669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4239, allocations: 9.75 kB / 0.669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.4239, allocations: 15.62 kB / 0.669 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4242, allocations: 244.6 kB / 0.6692 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4242, allocations: 5.781 kB / 0.6692 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.4242, allocations: 7.562 kB / 0.6692 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.4244, allocations: 88.84 kB / 0.6693 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4244, allocations: 4 kB / 0.6693 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4244, allocations: 0 / 0.6693 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4245, allocations: 4.125 kB / 0.6693 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.289e-05/0.4246, allocations: 33.98 kB / 0.6694 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.425, allocations: 359 kB / 0.6697 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.4251, allocations: 78.7 kB / 0.6698 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.12e-05/0.4252, allocations: 32.95 kB / 0.6698 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4252, allocations: 5.703 kB / 0.6698 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.4254, allocations: 81.52 kB / 0.6699 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.023e-06/0.4254, allocations: 3.984 kB / 0.6699 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003036/0.4257, allocations: 140 kB / 0.67 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.4257, allocations: 82.8 kB / 0.6701 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.4259, allocations: 268.7 kB / 0.6704 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.426, allocations: 27.17 kB / 0.6704 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.426, allocations: 119.4 kB / 0.6705 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.426, allocations: 20.23 kB / 0.6705 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.4261, allocations: 27.2 kB / 0.6706 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/0.4261, allocations: 331.1 kB / 0.6709 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.4262, allocations: 31.33 kB / 0.6709 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.4263, allocations: 68.94 kB / 0.671 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.4264, allocations: 68.55 kB / 0.671 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4264, allocations: 0 / 0.671 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001738/0.4266, allocations: 110.9 kB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.4266, allocations: 5.344 kB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4266, allocations: 1.344 kB / 0.6711 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4266, allocations: 5.531 kB / 0.6712 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.4267, allocations: 17.22 kB / 0.6712 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4267, allocations: 3.984 kB / 0.6712 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.4268, allocations: 15.94 kB / 0.6712 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4268, allocations: 6.406 kB / 0.6712 GB, free: 2.273 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.198e-05/0.4269, allocations: 145 kB / 0.6713 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.4269, allocations: 15.75 kB / 0.6713 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.427, allocations: 23.67 kB / 0.6714 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.427, allocations: 2.844 kB / 0.6714 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.427, allocations: 0 / 0.6714 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.427, allocations: 3.938 kB / 0.6714 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4272, allocations: 223.3 kB / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4272, allocations: 0 / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.4272, allocations: 4.719 kB / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4272, allocations: 0 / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.4272, allocations: 5.516 kB / 0.6716 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4272, allocations: 0 / 0.6716 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4272, allocations: 3.938 kB / 0.6716 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4274, allocations: 142.4 kB / 0.6717 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.4275, allocations: 102.7 kB / 0.6718 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.4275, allocations: 1.375 kB / 0.6718 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.4276, allocations: 1.75 kB / 0.6718 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.4276, allocations: 10.92 kB / 0.6718 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.4276, allocations: 6.719 kB / 0.6719 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000148/0.4278, allocations: 194.4 kB / 0.672 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.41e-07/0.4278, allocations: 4 kB / 0.672 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.428, allocations: 38.36 kB / 0.6721 GB, free: 1.488 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.000886/0.4289, allocations: 423.9 kB / 0.6725 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.4291, allocations: 75.28 kB / 0.6726 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4291, allocations: 0 / 0.6726 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.693e-05/0.4292, allocations: 34.33 kB / 0.6726 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4295, allocations: 40.41 kB / 0.6726 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4299, allocations: 295.3 kB / 0.6729 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4301, allocations: 0.7237 MB / 0.6736 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.643e-05/0.4302, allocations: 30.42 kB / 0.6736 GB, free: 292 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.4302, allocations: 21 kB / 0.6737 GB, free: 280 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4302, allocations: 0 / 0.6737 GB, free: 280 kB / 0.4981 GB Notification: Performance of Templates: time 0.005283/0.4355, allocations: 2.303 MB / 0.6759 GB, free: 15.11 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)