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.001348/0.001348, allocations: 77.09 kB / 20.66 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.001382/0.001382, allocations: 169 kB / 24.06 MB, free: 456 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.092/1.092, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7905/0.7905, allocations: 154.9 MB / 415.9 MB, free: 252 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 1.232e-06/1.232e-06, allocations: 0 / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.817e-05, allocations: 5.156 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002415/0.002434, allocations: 1.821 MB / 0.5237 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.003865, allocations: 1.212 MB / 0.5249 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.971e-05/0.003965, allocations: 0 / 0.5249 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.004274, allocations: 59.67 kB / 0.5249 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.00476, allocations: 127.4 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.005338, allocations: 194.5 kB / 0.5252 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.005577, allocations: 159.5 kB / 0.5254 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.005693, allocations: 13.62 kB / 0.5254 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.005836, allocations: 95.67 kB / 0.5255 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005956, allocations: 60.8 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.005976, allocations: 8 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.006156, allocations: 79.86 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.006234, allocations: 41.25 kB / 0.5257 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.006288, allocations: 35.86 kB / 0.5257 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/0.006576, allocations: 167.3 kB / 0.5258 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.006581, allocations: 1.156 kB / 0.5259 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006582, allocations: 0 / 0.5259 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006588, allocations: 0 / 0.5259 GB, free: 13.48 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.0006762/0.007265, allocations: 0.5253 MB / 0.5264 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.007314, allocations: 8.031 kB / 0.5264 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.007378, allocations: 18.12 kB / 0.5264 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.007621, allocations: 188.2 kB / 0.5266 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.007649, allocations: 8.359 kB / 0.5266 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.007659, allocations: 1.625 kB / 0.5266 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.007821, allocations: 66.94 kB / 0.5266 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.007832, allocations: 3.938 kB / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.007843, allocations: 4.641 kB / 0.5266 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.00787, allocations: 4 kB / 0.5267 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.007911, allocations: 21.77 kB / 0.5267 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.008321, allocations: 300.3 kB / 0.527 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.008458, allocations: 63.19 kB / 0.527 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.008491, allocations: 21.34 kB / 0.527 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.008508, allocations: 0 / 0.527 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.008645, allocations: 77.02 kB / 0.5271 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.008646, allocations: 1.469 kB / 0.5271 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002399/0.008886, allocations: 97.5 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.008922, allocations: 55.41 kB / 0.5273 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.009112, allocations: 275.2 kB / 0.5275 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.00913, allocations: 26.67 kB / 0.5275 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.009221, allocations: 178.7 kB / 0.5277 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.00925, allocations: 25.22 kB / 0.5277 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.009293, allocations: 27.38 kB / 0.5278 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.009468, allocations: 0.5079 MB / 0.5283 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.009498, allocations: 8 kB / 0.5283 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.894e-05/0.009557, allocations: 69.19 kB / 0.5283 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.009618, allocations: 52.31 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00962, allocations: 1.219 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000136/0.009756, allocations: 85.78 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.009771, allocations: 6.5 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.009779, allocations: 2.031 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.009789, allocations: 0 / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.00987, allocations: 15.98 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.009875, allocations: 4.062 kB / 0.5285 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.00992, allocations: 15.95 kB / 0.5285 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.009928, allocations: 6.438 kB / 0.5285 GB, free: 10.53 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 0.0001005/0.01003, allocations: 165.4 kB / 0.5287 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.01005, allocations: 23.84 kB / 0.5287 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.0102, allocations: 99.05 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.01021, allocations: 4 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01021, allocations: 2.219 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01022, allocations: 0 / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.01035, allocations: 141.1 kB / 0.5289 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01036, allocations: 0 / 0.5289 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.01039, allocations: 12 kB / 0.5289 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.0104, allocations: 3.938 kB / 0.529 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.01041, allocations: 1.031 kB / 0.529 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01041, allocations: 0 / 0.529 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01041, allocations: 0 / 0.529 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01054, allocations: 133.2 kB / 0.5291 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.01056, allocations: 15.89 kB / 0.5291 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01058, allocations: 11.12 kB / 0.5291 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.01061, allocations: 3.938 kB / 0.5291 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.01066, allocations: 11.98 kB / 0.5291 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.01067, allocations: 4 kB / 0.5291 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001006/0.01077, allocations: 187.1 kB / 0.5293 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01077, allocations: 0 / 0.5293 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001941/0.01097, allocations: 35.88 kB / 0.5293 GB, free: 9.637 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.001027/0.012, allocations: 410.8 kB / 0.5297 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.01216, allocations: 44.78 kB / 0.5298 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01216, allocations: 0 / 0.5298 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.0122, allocations: 39.66 kB / 0.5298 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.01242, allocations: 40.89 kB / 0.5298 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.01282, allocations: 267.5 kB / 0.5301 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.01286, allocations: 71.83 kB / 0.5302 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.01292, allocations: 22.97 kB / 0.5302 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.013, allocations: 104.6 kB / 0.5303 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.013, allocations: 0 / 0.5303 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of Templates: time 0.006202/0.0192, allocations: 2.896 MB / 0.5331 GB, free: 6.059 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.036342486739159]