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.00148/0.001481, allocations: 115 kB / 16.37 MB, free: 6.016 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.001718/0.001718, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8701/0.8701, allocations: 132.2 MB / 423.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3727, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002993/0.3757, allocations: 1.774 MB / 0.5832 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3772, allocations: 1.103 MB / 0.5843 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.3773, allocations: 1.844 kB / 0.5843 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.3775, allocations: 55.52 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.3778, allocations: 81.31 kB / 0.5844 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.3783, allocations: 224.1 kB / 0.5847 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3785, allocations: 146.4 kB / 0.5848 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3786, allocations: 29.45 kB / 0.5848 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.3787, allocations: 59.83 kB / 0.5849 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.97e-05/0.3788, allocations: 65.28 kB / 0.5849 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3788, allocations: 8.469 kB / 0.5849 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.379, allocations: 70.61 kB / 0.585 GB, free: 24.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.379, allocations: 41.72 kB / 0.5851 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.3791, allocations: 57.16 kB / 0.5851 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.3794, allocations: 197 kB / 0.5853 GB, free: 24.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3794, allocations: 2 kB / 0.5853 GB, free: 24.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3794, allocations: 0 / 0.5853 GB, free: 24.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3794, allocations: 1.188 kB / 0.5853 GB, free: 24.67 MB / 446.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.0005502/0.38, allocations: 499.8 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.38, allocations: 9.531 kB / 0.5858 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.3801, allocations: 17.28 kB / 0.5858 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3803, allocations: 251.1 kB / 0.586 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3803, allocations: 4 kB / 0.586 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3804, allocations: 11.73 kB / 0.5861 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3806, allocations: 98.33 kB / 0.5861 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3806, allocations: 0 / 0.5861 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3806, allocations: 1.188 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3806, allocations: 2.25 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.3807, allocations: 34.22 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3812, allocations: 349.2 kB / 0.5865 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3814, allocations: 87.34 kB / 0.5866 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.3814, allocations: 35.67 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3815, allocations: 2.094 kB / 0.5866 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.3816, allocations: 84.62 kB / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.3816, allocations: 0 / 0.5867 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000338/0.382, allocations: 143.9 kB / 0.5869 GB, free: 23.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3821, allocations: 104.8 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.3823, allocations: 269.1 kB / 0.5872 GB, free: 22.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.3823, allocations: 26.95 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3824, allocations: 115.9 kB / 0.5873 GB, free: 22.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3824, allocations: 25.86 kB / 0.5874 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.3825, allocations: 26.84 kB / 0.5874 GB, free: 22.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.3825, allocations: 336.9 kB / 0.5877 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.3826, allocations: 29.52 kB / 0.5877 GB, free: 22.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.3827, allocations: 71.5 kB / 0.5878 GB, free: 22.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3828, allocations: 76.89 kB / 0.5879 GB, free: 22.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3828, allocations: 0 / 0.5879 GB, free: 22.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.383, allocations: 116.1 kB / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3831, allocations: 7.469 kB / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3831, allocations: 0 / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3831, allocations: 1.219 kB / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3832, allocations: 15.39 kB / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3832, allocations: 1.25 kB / 0.588 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.556e-05/0.3833, allocations: 16.12 kB / 0.588 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.3833, allocations: 2.656 kB / 0.588 GB, free: 22.19 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 9.111e-05/0.3834, allocations: 146.1 kB / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3834, allocations: 16.84 kB / 0.5882 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.3835, allocations: 24.42 kB / 0.5882 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3835, allocations: 1.906 kB / 0.5882 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3835, allocations: 1.656 kB / 0.5882 GB, free: 22.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3835, allocations: 6.188 kB / 0.5882 GB, free: 22.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3836, allocations: 221.8 kB / 0.5884 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3836, allocations: 0 / 0.5884 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.3837, allocations: 9.266 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3837, allocations: 1.219 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3837, allocations: 5.25 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3837, allocations: 0.7188 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3837, allocations: 1.938 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3839, allocations: 147.8 kB / 0.5886 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.384, allocations: 91.83 kB / 0.5887 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.384, allocations: 2.719 kB / 0.5887 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.3841, allocations: 9.422 kB / 0.5887 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3841, allocations: 7.734 kB / 0.5887 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3842, allocations: 11.47 kB / 0.5887 GB, free: 21.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3843, allocations: 193.3 kB / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.3843, allocations: 0 / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3846, allocations: 41.95 kB / 0.5889 GB, free: 21.41 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.0009241/0.3855, allocations: 422.7 kB / 0.5893 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.3857, allocations: 71.92 kB / 0.5894 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3857, allocations: 0 / 0.5894 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.3858, allocations: 34.17 kB / 0.5894 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3861, allocations: 40.5 kB / 0.5895 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3866, allocations: 286.2 kB / 0.5898 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3867, allocations: 0.7268 MB / 0.5905 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.3868, allocations: 38.86 kB / 0.5905 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.3868, allocations: 18.28 kB / 0.5905 GB, free: 20.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3869, allocations: 3.938 kB / 0.5905 GB, free: 20.23 MB / 446.1 MB Notification: Performance of Templates: time 0.005078/0.3919, allocations: 2.526 MB / 0.593 GB, free: 18.33 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)