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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 175.7 kB / 7.46 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.598/0.598, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007615/0.0007616, allocations: 88.53 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.055e-05, allocations: 2.906 kB / 0.5528 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1204, allocations: 82.31 MB / 0.6332 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4783, allocations: 114.9 MB / 0.7455 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4785, allocations: 76.73 kB / 0.7455 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01355/0.4921, allocations: 5.152 MB / 0.7506 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.4921, allocations: 6.562 kB / 0.7506 GB, free: 10.41 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.0004745/0.4926, allocations: 457.1 kB / 0.751 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4926, allocations: 8.906 kB / 0.751 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.4927, allocations: 19.86 kB / 0.751 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.493, allocations: 269.2 kB / 0.7513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4931, allocations: 2.562 kB / 0.7513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.4931, allocations: 5.594 kB / 0.7513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.264e-05/0.4932, allocations: 31.55 kB / 0.7513 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.4933, allocations: 87.56 kB / 0.7514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4933, allocations: 1.219 kB / 0.7514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4934, allocations: 0 / 0.7514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4934, allocations: 2.656 kB / 0.7514 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.4939, allocations: 348.4 kB / 0.7518 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.494, allocations: 85.42 kB / 0.7518 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.494, allocations: 29.19 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.4941, allocations: 2.062 kB / 0.7519 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.263e-05/0.4942, allocations: 77.45 kB / 0.7519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.4942, allocations: 0 / 0.7519 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002407/0.4944, allocations: 101.1 kB / 0.752 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4945, allocations: 108.1 kB / 0.7521 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4947, allocations: 231.5 kB / 0.7524 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4948, allocations: 26.89 kB / 0.7524 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.4948, allocations: 100.4 kB / 0.7525 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.4948, allocations: 25.81 kB / 0.7525 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.4949, allocations: 4 kB / 0.7525 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.495, allocations: 325.9 kB / 0.7528 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.097e-05/0.495, allocations: 26.8 kB / 0.7528 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.495e-05/0.4951, allocations: 69.31 kB / 0.7529 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/0.4952, allocations: 29.23 kB / 0.7529 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4952, allocations: 4 kB / 0.7529 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.4954, allocations: 114.2 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4954, allocations: 5 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4954, allocations: 1.25 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.4954, allocations: 1.156 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.4955, allocations: 13.64 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4955, allocations: 5.297 kB / 0.7531 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.4956, allocations: 11.59 kB / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4956, allocations: 2.594 kB / 0.7531 GB, free: 24.54 MB / 0.5105 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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.152e-05/0.4957, allocations: 127.2 kB / 0.7532 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.4957, allocations: 18.92 kB / 0.7532 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.4959, allocations: 110.6 kB / 0.7533 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.496, allocations: 2.625 kB / 0.7533 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.496, allocations: 0 / 0.7533 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.496, allocations: 1.281 kB / 0.7533 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.4961, allocations: 211.8 kB / 0.7535 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4962, allocations: 3.984 kB / 0.7535 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.4962, allocations: 10.44 kB / 0.7536 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4962, allocations: 0 / 0.7536 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4962, allocations: 4.578 kB / 0.7536 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4962, allocations: 1.25 kB / 0.7536 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4962, allocations: 0 / 0.7536 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001868/0.4964, allocations: 143.5 kB / 0.7537 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.4965, allocations: 100.8 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.4966, allocations: 1.312 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.4966, allocations: 6.656 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.4967, allocations: 10.45 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.4967, allocations: 6.25 kB / 0.7538 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001754/0.4969, allocations: 184.4 kB / 0.754 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002622/0.4971, allocations: 54.75 kB / 0.754 GB, free: 23.92 MB / 0.5105 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.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006277/0.4978, allocations: 315.7 kB / 0.7544 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.498, allocations: 88.44 kB / 0.7544 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.498, allocations: 0.5 kB / 0.7544 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.044e-05/0.4981, allocations: 34.17 kB / 0.7545 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.4984, allocations: 34.28 kB / 0.7545 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.4989, allocations: 217.6 kB / 0.7547 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/0.4993, allocations: 0.7521 MB / 0.7554 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.4993, allocations: 0.5625 kB / 0.7554 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.005613/0.5049, allocations: 2.357 MB / 0.7577 GB, free: 22.25 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)