Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005885/0.005885, allocations: 100.7 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.001277/0.001277, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9173/0.9173, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 0.5856 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4171, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002971/0.4202, allocations: 1.772 MB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.422, allocations: 1.102 MB / 0.6675 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4221, allocations: 4.906 kB / 0.6675 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.4225, allocations: 54.58 kB / 0.6675 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.4228, allocations: 78.86 kB / 0.6676 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.4233, allocations: 220.4 kB / 0.6678 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.4236, allocations: 153.8 kB / 0.6679 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4237, allocations: 16.81 kB / 0.668 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4238, allocations: 64.69 kB / 0.668 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.4239, allocations: 62.09 kB / 0.6681 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.4239, allocations: 7.812 kB / 0.6681 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.4241, allocations: 76.75 kB / 0.6682 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.4242, allocations: 38.66 kB / 0.6682 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.4243, allocations: 59.5 kB / 0.6683 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.4246, allocations: 199.7 kB / 0.6684 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4246, allocations: 0 / 0.6684 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4246, allocations: 0 / 0.6684 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4246, allocations: 0 / 0.6684 GB, free: 4.703 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005945/0.4252, allocations: 493.2 kB / 0.6689 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4252, allocations: 9.625 kB / 0.6689 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.4253, allocations: 20.12 kB / 0.6689 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.4256, allocations: 248.3 kB / 0.6692 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4256, allocations: 10.84 kB / 0.6692 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.4256, allocations: 7 kB / 0.6692 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4258, allocations: 99.3 kB / 0.6693 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4258, allocations: 1.188 kB / 0.6693 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4259, allocations: 3.984 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.4259, allocations: 2.375 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.426, allocations: 38.23 kB / 0.6693 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.4265, allocations: 352.1 kB / 0.6697 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.4267, allocations: 92.81 kB / 0.6698 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.4268, allocations: 32.09 kB / 0.6698 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.4268, allocations: 1.406 kB / 0.6698 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.427, allocations: 96.16 kB / 0.6699 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.427, allocations: 0 / 0.6699 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003589/0.4274, allocations: 131.1 kB / 0.67 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4274, allocations: 108.6 kB / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.4277, allocations: 276.2 kB / 0.6704 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.4277, allocations: 27.05 kB / 0.6704 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4278, allocations: 116.2 kB / 0.6705 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.4278, allocations: 18.31 kB / 0.6705 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4278, allocations: 31.3 kB / 0.6706 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.4279, allocations: 331.2 kB / 0.6709 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.428, allocations: 25.7 kB / 0.6709 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.498e-05/0.4281, allocations: 70.05 kB / 0.671 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.4282, allocations: 81.52 kB / 0.671 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4282, allocations: 0 / 0.671 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.4284, allocations: 104.2 kB / 0.6711 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4284, allocations: 6.25 kB / 0.6711 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4285, allocations: 3.984 kB / 0.6712 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4285, allocations: 1.406 kB / 0.6712 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.4286, allocations: 17.59 kB / 0.6712 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4286, allocations: 1.156 kB / 0.6712 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.4286, allocations: 16.3 kB / 0.6712 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4287, allocations: 6.062 kB / 0.6712 GB, free: 2.195 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.871e-05/0.4288, allocations: 140.8 kB / 0.6713 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.4288, allocations: 15.53 kB / 0.6713 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.4288, allocations: 16.09 kB / 0.6714 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4289, allocations: 6.359 kB / 0.6714 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4289, allocations: 0 / 0.6714 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4289, allocations: 5.281 kB / 0.6714 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.429, allocations: 225.7 kB / 0.6716 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.429, allocations: 1.344 kB / 0.6716 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.4291, allocations: 8.344 kB / 0.6716 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.4291, allocations: 1.375 kB / 0.6716 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4291, allocations: 192 / 0.6716 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4291, allocations: 9.328 kB / 0.6716 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4291, allocations: 3.938 kB / 0.6716 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4293, allocations: 135.2 kB / 0.6717 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.4294, allocations: 99.69 kB / 0.6718 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.4294, allocations: 5.438 kB / 0.6718 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.043e-05/0.4295, allocations: 9.281 kB / 0.6718 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.4295, allocations: 13.3 kB / 0.6719 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.4296, allocations: 6.875 kB / 0.6719 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001562/0.4297, allocations: 195.3 kB / 0.6721 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 0 / 0.6721 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002398/0.43, allocations: 33.31 kB / 0.6721 GB, free: 1.414 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.0009679/0.4309, allocations: 421.8 kB / 0.6725 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.4312, allocations: 72.25 kB / 0.6726 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4312, allocations: 0 / 0.6726 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.4313, allocations: 45.31 kB / 0.6726 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.4316, allocations: 39.03 kB / 0.6726 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.4321, allocations: 294.4 kB / 0.6729 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.4322, allocations: 0.7256 MB / 0.6736 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.031e-05/0.4323, allocations: 27.97 kB / 0.6736 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4324, allocations: 26.17 kB / 0.6737 GB, free: 188 kB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4324, allocations: 0 / 0.6737 GB, free: 188 kB / 0.4981 GB Notification: Performance of Templates: time 0.005834/0.4382, allocations: 2.541 MB / 0.6762 GB, free: 14.92 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)