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.001349/0.001349, allocations: 93.06 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.001388/0.001388, 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 0.9989/0.9989, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7697/0.7697, allocations: 154.9 MB / 414.8 MB, free: 372 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 3.176e-06/3.176e-06, allocations: 4 kB / 0.5207 GB, free: 1.77 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.228e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.766 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003056/0.003088, allocations: 1.829 MB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.0049, allocations: 1.229 MB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.005014, allocations: 0.625 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.005349, allocations: 59.11 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.005748, allocations: 127.3 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.006297, allocations: 195.3 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.006539, allocations: 159.5 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.006645, allocations: 22.34 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.006781, allocations: 83.8 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.006895, allocations: 61.36 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.006915, allocations: 11.94 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.0071, allocations: 87.78 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.345e-05/0.007173, allocations: 37.45 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.007229, allocations: 31.91 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.007521, allocations: 175.3 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007526, allocations: 0 / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.007527, allocations: 0.9062 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.007532, allocations: 0 / 0.5247 GB, free: 13.69 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.0005985/0.008131, allocations: 0.511 MB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.008169, allocations: 12.03 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.008236, allocations: 20.84 kB / 0.5252 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.008473, allocations: 192.2 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.008497, allocations: 4.375 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.008511, allocations: 5 kB / 0.5254 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008675, allocations: 74.92 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.008684, allocations: 4.531 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.008695, allocations: 0.6875 kB / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.008718, allocations: 0 / 0.5255 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.008771, allocations: 20.52 kB / 0.5255 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.009214, allocations: 337.1 kB / 0.5258 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.009362, allocations: 71.03 kB / 0.5259 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.009406, allocations: 32.48 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.009421, allocations: 0 / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.009544, allocations: 69.92 kB / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.009546, allocations: 0 / 0.526 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002506/0.009796, allocations: 104.6 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.009832, allocations: 59.39 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.01004, allocations: 279.2 kB / 0.5264 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.01006, allocations: 29.7 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.01015, allocations: 174.7 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.01017, allocations: 15.91 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.01022, allocations: 31.36 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003922/0.01061, allocations: 0.504 MB / 0.5271 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.01065, allocations: 12.48 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.01072, allocations: 69.88 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.861e-05/0.01079, allocations: 52.22 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.0108, allocations: 4 kB / 0.5273 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001512/0.01095, allocations: 94.81 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01097, allocations: 4 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01097, allocations: 0.7188 kB / 0.5274 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01099, allocations: 4 kB / 0.5274 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.887e-05/0.01107, allocations: 12.88 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01108, allocations: 4.062 kB / 0.5274 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.01113, allocations: 15.94 kB / 0.5274 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.01114, allocations: 5.219 kB / 0.5274 GB, free: 10.67 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.682e-05/0.01124, allocations: 165.4 kB / 0.5276 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.01126, allocations: 20.53 kB / 0.5276 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.01145, allocations: 106.2 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.01147, allocations: 4 kB / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01147, allocations: 0 / 0.5277 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01147, allocations: 3.984 kB / 0.5277 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.01162, allocations: 180.5 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01163, allocations: 3.938 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.01166, allocations: 11.98 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01167, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01168, allocations: 3.125 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01168, allocations: 0 / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01168, allocations: 4 kB / 0.5279 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.01184, allocations: 136.2 kB / 0.528 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.01186, allocations: 15.91 kB / 0.528 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01188, allocations: 7.984 kB / 0.528 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.01192, allocations: 4 kB / 0.5281 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.01196, allocations: 3.984 kB / 0.5281 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.01198, allocations: 5.812 kB / 0.5281 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001216/0.0121, allocations: 195.1 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0121, allocations: 0 / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002524/0.01235, allocations: 35.94 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.001013/0.01336, allocations: 406.6 kB / 0.5287 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.01352, allocations: 55.59 kB / 0.5287 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01353, allocations: 1.125 kB / 0.5287 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.01358, allocations: 35.61 kB / 0.5288 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.0002672/0.01385, allocations: 51.38 kB / 0.5288 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.01433, allocations: 270.7 kB / 0.5291 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.01439, allocations: 80.67 kB / 0.5291 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.01445, allocations: 26.95 kB / 0.5292 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.0145, allocations: 20.48 kB / 0.5292 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/0.0145, allocations: 1.031 kB / 0.5292 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of Templates: time 0.00557/0.02007, allocations: 2.806 MB / 0.5319 GB, free: 6.281 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: 3.91493363911286]