Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7464/0.7464, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.72 kB / 0.5013 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.475, allocations: 80.2 MB / 0.5796 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.004109/0.4792, allocations: 1.826 MB / 0.5814 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.481, allocations: 1.091 MB / 0.5824 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.4811, allocations: 5.094 kB / 0.5825 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4815, allocations: 43.61 kB / 0.5825 GB, free: 2.539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.4818, allocations: 72.97 kB / 0.5826 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.4824, allocations: 210.1 kB / 0.5828 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.4826, allocations: 145.8 kB / 0.5829 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4828, allocations: 17.89 kB / 0.5829 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.4829, allocations: 71.19 kB / 0.583 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.483, allocations: 69.02 kB / 0.5831 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.4831, allocations: 6.656 kB / 0.5831 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.4833, allocations: 68.45 kB / 0.5831 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.4834, allocations: 37.95 kB / 0.5832 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4835, allocations: 64.38 kB / 0.5832 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.4839, allocations: 198.3 kB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4839, allocations: 0 / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4839, allocations: 0.8438 kB / 0.5834 GB, free: 2.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4839, allocations: 0 / 0.5834 GB, free: 2.102 MB / 430.1 MB 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.0007072/0.4846, allocations: 488.4 kB / 0.5839 GB, free: 1.637 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4847, allocations: 8.656 kB / 0.5839 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.4847, allocations: 16.47 kB / 0.5839 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.4851, allocations: 257.7 kB / 0.5841 GB, free: 1.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4851, allocations: 7.375 kB / 0.5842 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4851, allocations: 7.25 kB / 0.5842 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.4854, allocations: 93.55 kB / 0.5843 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4854, allocations: 3.984 kB / 0.5843 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4854, allocations: 2.188 kB / 0.5843 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.4854, allocations: 1.625 kB / 0.5843 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.4855, allocations: 35.56 kB / 0.5843 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.4861, allocations: 355.8 kB / 0.5846 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4863, allocations: 96.27 kB / 0.5847 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.4864, allocations: 32.34 kB / 0.5848 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.4864, allocations: 0.7812 kB / 0.5848 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.4867, allocations: 83.64 kB / 0.5848 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.4867, allocations: 0 / 0.5848 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004035/0.4871, allocations: 146.7 kB / 0.585 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.4871, allocations: 103.6 kB / 0.5851 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.4875, allocations: 262.8 kB / 0.5853 GB, free: 0.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4875, allocations: 26.7 kB / 0.5853 GB, free: 480 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.4876, allocations: 120.2 kB / 0.5855 GB, free: 368 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4876, allocations: 20.73 kB / 0.5855 GB, free: 352 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.4877, allocations: 30.08 kB / 0.5855 GB, free: 328 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4878, allocations: 333.4 kB / 0.5858 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.4879, allocations: 30.25 kB / 0.5859 GB, free: 15.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.488, allocations: 62.88 kB / 0.5859 GB, free: 15.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.4882, allocations: 83.23 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4882, allocations: 0 / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002586/0.4885, allocations: 109.6 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4885, allocations: 5.156 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4886, allocations: 4.75 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4886, allocations: 2.875 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4887, allocations: 15.45 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4887, allocations: 1.375 kB / 0.5861 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.4888, allocations: 12.19 kB / 0.5861 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4888, allocations: 7.438 kB / 0.5862 GB, free: 15.8 MB / 446.1 MB 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 0.0001581/0.489, allocations: 145.1 kB / 0.5863 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.489, allocations: 15.98 kB / 0.5863 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.4891, allocations: 19.11 kB / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4891, allocations: 3.078 kB / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4891, allocations: 0 / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4891, allocations: 0.7812 kB / 0.5863 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.4894, allocations: 226.2 kB / 0.5865 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4894, allocations: 9.141 kB / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.675e-05/0.4895, allocations: 9.797 kB / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4895, allocations: 0.6875 kB / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4895, allocations: 2.156 kB / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4895, allocations: 1.578 kB / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4895, allocations: 0 / 0.5866 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.4898, allocations: 142.6 kB / 0.5867 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.4899, allocations: 92.42 kB / 0.5868 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4899, allocations: 10.08 kB / 0.5868 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.49, allocations: 7.453 kB / 0.5868 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.4901, allocations: 7.219 kB / 0.5868 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4901, allocations: 8.375 kB / 0.5868 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4903, allocations: 201.4 kB / 0.587 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4904, allocations: 0 / 0.587 GB, free: 15.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003221/0.4907, allocations: 34.27 kB / 0.587 GB, free: 15.09 MB / 446.1 MB 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.0012/0.4919, allocations: 425.6 kB / 0.5875 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.4922, allocations: 74.78 kB / 0.5875 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4922, allocations: 0.8125 kB / 0.5875 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4924, allocations: 37.47 kB / 0.5876 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4927, allocations: 39.39 kB / 0.5876 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.4934, allocations: 324.5 kB / 0.5879 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.4937, allocations: 0.7243 MB / 0.5886 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.31e-05/0.4938, allocations: 24.12 kB / 0.5886 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.4938, allocations: 27.31 kB / 0.5887 GB, free: 13.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4939, allocations: 0 / 0.5887 GB, free: 13.93 MB / 446.1 MB Notification: Performance of Templates: time 0.007201/0.5011, allocations: 2.495 MB / 0.5911 GB, free: 13.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)