Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009551/0.0009551, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009625/0.0009625, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8947/0.8947, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5206 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.599e-05, allocations: 4.141 kB / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002834/0.00287, allocations: 1.826 MB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004511, allocations: 1.226 MB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004612, allocations: 0 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.004964, allocations: 63.61 kB / 0.5236 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.005359, allocations: 120 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.005885, allocations: 202 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.00609, allocations: 159.6 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.006199, allocations: 17.62 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.006316, allocations: 84.38 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.006428, allocations: 73.31 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.006447, allocations: 8 kB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.006608, allocations: 79.86 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.00668, allocations: 35.86 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.006736, allocations: 36.72 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.007022, allocations: 175.3 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007025, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.123e-06/0.007027, allocations: 1.031 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.007032, allocations: 0 / 0.5246 GB, free: 13.83 MB / 0.4948 GB 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.0007727/0.007805, allocations: 0.514 MB / 0.5251 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.007846, allocations: 8.031 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.007905, allocations: 20.84 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.008188, allocations: 197.1 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.008207, allocations: 384 / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.008224, allocations: 4.906 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.008418, allocations: 124.7 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.008431, allocations: 3.938 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.008442, allocations: 0.75 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.008457, allocations: 4 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.00851, allocations: 24.42 kB / 0.5254 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.008952, allocations: 344.5 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.009088, allocations: 73.94 kB / 0.5258 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.009123, allocations: 15.69 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.00914, allocations: 0 / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.009258, allocations: 73.03 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.00926, allocations: 0 / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002349/0.009495, allocations: 117.5 kB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.00954, allocations: 78.2 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.009722, allocations: 278.9 kB / 0.5264 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.009738, allocations: 29.7 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.009817, allocations: 171.4 kB / 0.5266 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.009842, allocations: 20.45 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.009882, allocations: 27.38 kB / 0.5266 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01002, allocations: 0.5049 MB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.01005, allocations: 12 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.01012, allocations: 107.5 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.831e-05/0.01019, allocations: 51.3 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01019, allocations: 0 / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001288/0.01032, allocations: 102.7 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01033, allocations: 6.438 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01034, allocations: 4 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01036, allocations: 11.92 kB / 0.5274 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.01045, allocations: 8 kB / 0.5274 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01046, allocations: 4.531 kB / 0.5274 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.0105, allocations: 3.938 kB / 0.5274 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.01051, allocations: 9.203 kB / 0.5274 GB, free: 10.66 MB / 0.4948 GB 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.24e-05/0.0106, allocations: 169.4 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01062, allocations: 22.66 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.01079, allocations: 99.12 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.0108, allocations: 0 / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.0108, allocations: 0 / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01081, allocations: 0 / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.01094, allocations: 184.5 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.01095, allocations: 0 / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.01098, allocations: 14.38 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01098, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01099, allocations: 7.984 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01099, allocations: 0 / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.011, allocations: 0 / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.01113, allocations: 140.2 kB / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.01115, allocations: 12.56 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01117, allocations: 4 kB / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.0112, allocations: 1 kB / 0.528 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.01125, allocations: 15.97 kB / 0.528 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01126, allocations: 4 kB / 0.528 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000107/0.01137, allocations: 191.8 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 3.438 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000195/0.01157, allocations: 35.92 kB / 0.5283 GB, free: 9.715 MB / 0.4948 GB 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.001058/0.01262, allocations: 415.2 kB / 0.5287 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.01278, allocations: 55.55 kB / 0.5287 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01278, allocations: 2.062 kB / 0.5287 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.01283, allocations: 31.66 kB / 0.5287 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01308, allocations: 49.14 kB / 0.5288 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.01352, allocations: 274.6 kB / 0.5291 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.01356, allocations: 72.45 kB / 0.5291 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.01362, allocations: 23.12 kB / 0.5291 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.01367, allocations: 25.03 kB / 0.5292 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.01367, allocations: 0 / 0.5292 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of Templates: time 0.005486/0.01915, allocations: 2.697 MB / 0.5318 GB, free: 6.379 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.194541218690574]