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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [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.0009439/0.0009439, allocations: 169 kB / 24.06 MB, free: 452 kB / 18.57 MB " [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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.7656/0.7656, allocations: 154.6 MB / 415.6 MB, free: 0.5234 MB / 378.7 MB [/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 179] 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: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5215 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.582e-05, allocations: 3.875 kB / 0.5215 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002199/0.002215, allocations: 1.806 MB / 0.5233 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003675, allocations: 1.209 MB / 0.5245 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.003763, allocations: 0 / 0.5245 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.004031, allocations: 63.61 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.004313, allocations: 121.6 kB / 0.5247 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.004731, allocations: 205 kB / 0.5249 GB, free: 13.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.004912, allocations: 155.5 kB / 0.525 GB, free: 13.24 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.004998, allocations: 17.62 kB / 0.525 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.0051, allocations: 91.73 kB / 0.5251 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.005185, allocations: 61.56 kB / 0.5252 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.005201, allocations: 8 kB / 0.5252 GB, free: 13.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.005349, allocations: 87.84 kB / 0.5253 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.005405, allocations: 35.84 kB / 0.5253 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.005446, allocations: 44.59 kB / 0.5253 GB, free: 12.9 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.005643, allocations: 163.4 kB / 0.5255 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005644, allocations: 1.406 kB / 0.5255 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.9e-07/0.005645, allocations: 0 / 0.5255 GB, free: 12.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005648, allocations: 0 / 0.5255 GB, free: 12.74 MB / 458.7 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.000436/0.006084, allocations: 0.5206 MB / 0.526 GB, free: 12.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.006114, allocations: 13.38 kB / 0.526 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.006153, allocations: 16.84 kB / 0.526 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.006329, allocations: 196.2 kB / 0.5262 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.006344, allocations: 1.906 kB / 0.5262 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.006353, allocations: 4.375 kB / 0.5262 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.006461, allocations: 78.84 kB / 0.5263 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.006468, allocations: 3.938 kB / 0.5263 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.006475, allocations: 2.469 kB / 0.5263 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.006489, allocations: 0 / 0.5263 GB, free: 11.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/0.006523, allocations: 19.98 kB / 0.5263 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.006805, allocations: 292.3 kB / 0.5266 GB, free: 11.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.006903, allocations: 63.75 kB / 0.5267 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.006928, allocations: 24.17 kB / 0.5267 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.006939, allocations: 0 / 0.5267 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.448e-05/0.007023, allocations: 69.91 kB / 0.5268 GB, free: 11.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.007024, allocations: 0 / 0.5268 GB, free: 11.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001762/0.0072, allocations: 111 kB / 0.5269 GB, free: 11.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.007225, allocations: 55.41 kB / 0.5269 GB, free: 11.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.007371, allocations: 272.3 kB / 0.5272 GB, free: 10.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.007385, allocations: 30.64 kB / 0.5272 GB, free: 10.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.007453, allocations: 166.8 kB / 0.5274 GB, free: 10.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.007478, allocations: 23.8 kB / 0.5274 GB, free: 10.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.007513, allocations: 38.59 kB / 0.5274 GB, free: 10.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007633, allocations: 0.5001 MB / 0.5279 GB, free: 10.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.00765, allocations: 7.984 kB / 0.5279 GB, free: 10.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.007696, allocations: 76.67 kB / 0.528 GB, free: 9.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.007747, allocations: 39.38 kB / 0.528 GB, free: 9.934 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.007749, allocations: 0 / 0.528 GB, free: 9.934 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.503e-05/0.007844, allocations: 96.47 kB / 0.5281 GB, free: 9.836 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.007855, allocations: 4 kB / 0.5281 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007859, allocations: 0 / 0.5281 GB, free: 9.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.007866, allocations: 3.938 kB / 0.5281 GB, free: 9.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.007922, allocations: 15.98 kB / 0.5281 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.007925, allocations: 0 / 0.5281 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/0.007962, allocations: 11.95 kB / 0.5282 GB, free: 9.801 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.007967, allocations: 0 / 0.5282 GB, free: 9.801 MB / 458.7 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 7.673e-05/0.008044, allocations: 162.1 kB / 0.5283 GB, free: 9.633 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.008065, allocations: 27.78 kB / 0.5283 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.008198, allocations: 91.62 kB / 0.5284 GB, free: 9.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.008206, allocations: 4 kB / 0.5284 GB, free: 9.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008208, allocations: 6.359 kB / 0.5284 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.008211, allocations: 0 / 0.5284 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.008322, allocations: 141.1 kB / 0.5286 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.008323, allocations: 0 / 0.5286 GB, free: 9.332 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008351, allocations: 19.92 kB / 0.5286 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.008354, allocations: 7.938 kB / 0.5286 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.008359, allocations: 2.438 kB / 0.5286 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00836, allocations: 0 / 0.5286 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008361, allocations: 0 / 0.5286 GB, free: 9.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.008466, allocations: 128.3 kB / 0.5287 GB, free: 9.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.008482, allocations: 11.91 kB / 0.5287 GB, free: 9.145 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.0085, allocations: 7.938 kB / 0.5287 GB, free: 9.137 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.64e-05/0.008526, allocations: 13.78 kB / 0.5288 GB, free: 9.125 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.008558, allocations: 11.98 kB / 0.5288 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.008567, allocations: 7.984 kB / 0.5288 GB, free: 9.105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.772e-05/0.008645, allocations: 183.4 kB / 0.5289 GB, free: 8.926 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008645, allocations: 0 / 0.5289 GB, free: 8.926 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.008808, allocations: 36.97 kB / 0.529 GB, free: 8.891 MB / 458.7 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.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.0007953/0.009603, allocations: 402.7 kB / 0.5294 GB, free: 8.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.009716, allocations: 56.98 kB / 0.5294 GB, free: 8.625 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.009717, allocations: 0 / 0.5294 GB, free: 8.625 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.009756, allocations: 31.67 kB / 0.5294 GB, free: 8.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.009935, allocations: 40.84 kB / 0.5295 GB, free: 8.555 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.01027, allocations: 278.5 kB / 0.5298 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.01031, allocations: 72.77 kB / 0.5298 GB, free: 8.168 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01036, allocations: 26.91 kB / 0.5298 GB, free: 8.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.01043, allocations: 98.19 kB / 0.5299 GB, free: 8.043 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01043, allocations: 0 / 0.5299 GB, free: 8.043 MB / 458.7 MB Notification: Performance of Templates: time 0.004428/0.01486, allocations: 2.875 MB / 0.5328 GB, free: 5.34 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9319908902980387]