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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 68.62 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4157, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003768/0.4195, allocations: 1.773 MB / 0.5818 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.4215, allocations: 1.103 MB / 0.5829 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.4216, allocations: 2.219 kB / 0.5829 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.422, allocations: 53.91 kB / 0.5829 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.4223, allocations: 78.98 kB / 0.583 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.4229, allocations: 233.9 kB / 0.5832 GB, free: 2.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.4231, allocations: 148.4 kB / 0.5834 GB, free: 2.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4232, allocations: 18.33 kB / 0.5834 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.4233, allocations: 70.55 kB / 0.5835 GB, free: 2.258 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.4235, allocations: 63.17 kB / 0.5835 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.4235, allocations: 6.625 kB / 0.5835 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.4236, allocations: 63.64 kB / 0.5836 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.4237, allocations: 42.67 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.4238, allocations: 63.45 kB / 0.5837 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.4241, allocations: 201.6 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4241, allocations: 1.25 kB / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4241, allocations: 0 / 0.5839 GB, free: 2.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4241, allocations: 0 / 0.5839 GB, free: 2.07 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.0006099/0.4247, allocations: 487.5 kB / 0.5844 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4248, allocations: 9.062 kB / 0.5844 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.4248, allocations: 17.2 kB / 0.5844 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.4251, allocations: 257.7 kB / 0.5846 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4251, allocations: 3.219 kB / 0.5846 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.4252, allocations: 11.72 kB / 0.5846 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.4254, allocations: 92.72 kB / 0.5847 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4254, allocations: 5.031 kB / 0.5847 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4254, allocations: 5.156 kB / 0.5847 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.4254, allocations: 1.922 kB / 0.5847 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.4256, allocations: 31.39 kB / 0.5848 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.4261, allocations: 355.4 kB / 0.5851 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.4263, allocations: 92.31 kB / 0.5852 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.4264, allocations: 35.61 kB / 0.5852 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4264, allocations: 2.094 kB / 0.5852 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.4266, allocations: 78.83 kB / 0.5853 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4267, allocations: 0 / 0.5853 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003497/0.427, allocations: 146.5 kB / 0.5854 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4271, allocations: 105 kB / 0.5855 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.4273, allocations: 268.8 kB / 0.5858 GB, free: 476 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4273, allocations: 28 kB / 0.5858 GB, free: 444 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.4274, allocations: 120.8 kB / 0.5859 GB, free: 332 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4274, allocations: 21.52 kB / 0.586 GB, free: 316 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.4275, allocations: 29.33 kB / 0.586 GB, free: 292 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4276, allocations: 328.5 kB / 0.5863 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.4277, allocations: 20.81 kB / 0.5863 GB, free: 15.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4278, allocations: 69.52 kB / 0.5864 GB, free: 15.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.428, allocations: 73.22 kB / 0.5865 GB, free: 15.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.428, allocations: 0.6562 kB / 0.5865 GB, free: 15.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002316/0.4282, allocations: 122 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4282, allocations: 6.938 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4283, allocations: 1 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4283, allocations: 1.391 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.343e-05/0.4284, allocations: 12.89 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4284, allocations: 0.6875 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.4285, allocations: 16.67 kB / 0.5866 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4285, allocations: 7.5 kB / 0.5866 GB, free: 15.78 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.0001361/0.4286, allocations: 143.7 kB / 0.5868 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4287, allocations: 19.62 kB / 0.5868 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.4287, allocations: 18.42 kB / 0.5868 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4287, allocations: 2.781 kB / 0.5868 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4287, allocations: 0 / 0.5868 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4288, allocations: 8.688 kB / 0.5868 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.429, allocations: 218.9 kB / 0.587 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.429, allocations: 9.031 kB / 0.587 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.429, allocations: 17.33 kB / 0.587 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.429, allocations: 2.031 kB / 0.587 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4291, allocations: 1.781 kB / 0.587 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4291, allocations: 0 / 0.587 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4291, allocations: 1.906 kB / 0.587 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4293, allocations: 151 kB / 0.5872 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.4294, allocations: 91.38 kB / 0.5873 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4294, allocations: 9.922 kB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.4295, allocations: 3.391 kB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.4296, allocations: 11.53 kB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4296, allocations: 3.75 kB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.4298, allocations: 194.1 kB / 0.5875 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4298, allocations: 0 / 0.5875 GB, free: 15.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.4301, allocations: 34.92 kB / 0.5875 GB, free: 15.06 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.0009944/0.4311, allocations: 430.5 kB / 0.5879 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4313, allocations: 71.58 kB / 0.588 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4313, allocations: 0.625 kB / 0.588 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.4314, allocations: 40.67 kB / 0.588 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.4317, allocations: 36.08 kB / 0.5881 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.4323, allocations: 295.5 kB / 0.5884 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.4326, allocations: 0.7234 MB / 0.5891 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.228e-05/0.4327, allocations: 25.41 kB / 0.5891 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4328, allocations: 23.27 kB / 0.5891 GB, free: 13.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4328, allocations: 0 / 0.5891 GB, free: 13.94 MB / 446.1 MB Notification: Performance of Templates: time 0.006194/0.439, allocations: 2.524 MB / 0.5916 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)