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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002099/0.0002099, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0001904/0.0001904, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1089/0.1089, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.1246/0.1246, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(IDEAS.Utilities.Math.Examples.IntegerReplicator,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(IDEAS.Utilities.Math.Examples.IntegerReplicator,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.644e-05/3.887e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002968/0.003007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0022/0.005208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.005287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.005558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.005836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.006231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001456/0.006377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.006431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.006575, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.00665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.006664, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.006835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.006895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.006933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000222/0.007155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.007171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.374e-06/0.007174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.047e-05/0.007184, allocations: 0 / 0, free: 0 / 0 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.001074/0.008259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/0.008326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.008412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.008631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.008667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.008686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.008847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.008854, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.008871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.008885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.008926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.009255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.009406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.009437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.009452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.009578, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=8): time 3.547e-06/0.009582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=8): time 0.0001686/0.00975, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.00977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.009908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.00995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.00999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.01004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.01009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.567e-05/0.0101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.01012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.0102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=10) (initialization): time 9.008e-05/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01031, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.01041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.01042, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.01046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01047, allocations: 0 / 0, free: 0 / 0 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 6.909e-05/0.01054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.01056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.0107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.01071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.01091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.01093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.01103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.01106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.01115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.0112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.01127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.01129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 7.44e-05/0.01136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 5.37e-06/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003825/0.01175, allocations: 0 / 0, free: 0 / 0 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.0004929/0.01224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001172/0.01236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.01236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.0124, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.01298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 5.207e-05/0.01304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 6.937e-05/0.01311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.01321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.722e-05/0.01323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002624/0.01585, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.069292064756155]