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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7875/0.7875, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 395.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001184, allocations: 103.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.401e-05, allocations: 4 kB / 0.5535 GB, free: 9.082 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.456, allocations: 82.31 MB / 0.6338 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.599, allocations: 115 MB / 0.7462 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5993, allocations: 83.94 kB / 0.7462 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.6145, allocations: 5.505 MB / 0.7516 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6145, allocations: 0 / 0.7516 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.6146, allocations: 4 kB / 0.7516 GB, free: 2.188 MB / 0.5261 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.0005402/0.6151, allocations: 459.7 kB / 0.7521 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6152, allocations: 8.031 kB / 0.7521 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.6152, allocations: 15.81 kB / 0.7521 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.6157, allocations: 267.5 kB / 0.7523 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.6157, allocations: 4 kB / 0.7523 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.6157, allocations: 0 / 0.7523 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001191/0.6159, allocations: 35.98 kB / 0.7524 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.616, allocations: 84.19 kB / 0.7525 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.616, allocations: 7.984 kB / 0.7525 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.6161, allocations: 3.938 kB / 0.7525 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.6161, allocations: 4 kB / 0.7525 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.6166, allocations: 349.1 kB / 0.7528 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.6168, allocations: 82.67 kB / 0.7529 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.6169, allocations: 32.92 kB / 0.7529 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.6169, allocations: 0 / 0.7529 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.617, allocations: 83.44 kB / 0.753 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.6171, allocations: 0 / 0.753 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003002/0.6174, allocations: 109.5 kB / 0.7531 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.6174, allocations: 110.8 kB / 0.7532 GB, free: 372 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.6177, allocations: 229.9 kB / 0.7534 GB, free: 132 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.6178, allocations: 29.7 kB / 0.7535 GB, free: 96 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6179, allocations: 124 kB / 0.7536 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.6179, allocations: 15.81 kB / 0.7536 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6179, allocations: 0 / 0.7536 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6181, allocations: 330.8 kB / 0.7539 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.6181, allocations: 20 kB / 0.7539 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.856e-05/0.6182, allocations: 68.28 kB / 0.754 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/0.6183, allocations: 39.91 kB / 0.754 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.6183, allocations: 0 / 0.754 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.6185, allocations: 105.5 kB / 0.7541 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.6186, allocations: 5.719 kB / 0.7541 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.6186, allocations: 0 / 0.7541 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6186, allocations: 0 / 0.7541 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.6187, allocations: 12 kB / 0.7541 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6187, allocations: 7.922 kB / 0.7541 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.757e-05/0.6188, allocations: 15.91 kB / 0.7542 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.6188, allocations: 7.953 kB / 0.7542 GB, free: 15.32 MB / 0.5417 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.993e-05/0.6189, allocations: 110.4 kB / 0.7543 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.6189, allocations: 15.81 kB / 0.7543 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.6192, allocations: 123.4 kB / 0.7544 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.6192, allocations: 4 kB / 0.7544 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6192, allocations: 192 / 0.7544 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6192, allocations: 0 / 0.7544 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.6194, allocations: 217.9 kB / 0.7546 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6194, allocations: 0 / 0.7546 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.6195, allocations: 8 kB / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6195, allocations: 3.984 kB / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.6195, allocations: 0 / 0.7546 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6195, allocations: 4 kB / 0.7546 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6195, allocations: 0 / 0.7546 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.6197, allocations: 144.8 kB / 0.7548 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.6198, allocations: 100.9 kB / 0.7549 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.6199, allocations: 3.984 kB / 0.7549 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.6199, allocations: 4 kB / 0.7549 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.62, allocations: 11.98 kB / 0.7549 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.62, allocations: 4 kB / 0.7549 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001778/0.6202, allocations: 187 kB / 0.7551 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6202, allocations: 0 / 0.7551 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002838/0.6205, allocations: 55.86 kB / 0.7551 GB, free: 14.27 MB / 0.5417 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.0008403/0.6213, allocations: 372.4 kB / 0.7555 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.6215, allocations: 75.97 kB / 0.7556 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.6215, allocations: 0 / 0.7556 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.6216, allocations: 31.94 kB / 0.7556 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6219, allocations: 38.06 kB / 0.7556 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.6223, allocations: 221.1 kB / 0.7558 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.6227, allocations: 0.7318 MB / 0.7565 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.167e-05/0.6227, allocations: 21.2 kB / 0.7566 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.6228, allocations: 19.44 kB / 0.7566 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.6228, allocations: 0 / 0.7566 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.005203/0.628, allocations: 2.347 MB / 0.7589 GB, free: 10.47 MB / 0.5417 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)