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.002199/0.002199, allocations: 93.47 kB / 19.44 MB, free: 336 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.002546/0.002546, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 178] 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 1.3/1.3, allocations: 154.8 MB / 414.3 MB, free: 460 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 178] 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.553e-06/1.553e-06, allocations: 0 / 0.5199 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.764e-05, allocations: 8.094 kB / 0.5199 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.003719/0.003747, allocations: 1.797 MB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.006271, allocations: 1.218 MB / 0.5228 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.973e-05/0.006371, allocations: 0 / 0.5228 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.006693, allocations: 59.62 kB / 0.5229 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.0071, allocations: 125.8 kB / 0.523 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.007719, allocations: 197 kB / 0.5232 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.007996, allocations: 159.5 kB / 0.5233 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.008099, allocations: 17.62 kB / 0.5233 GB, free: 14.76 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.008291, allocations: 91.73 kB / 0.5234 GB, free: 14.67 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.008433, allocations: 61.33 kB / 0.5235 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.008461, allocations: 7.938 kB / 0.5235 GB, free: 14.61 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.008678, allocations: 83.86 kB / 0.5236 GB, free: 14.52 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.008771, allocations: 39.84 kB / 0.5236 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.008845, allocations: 36.83 kB / 0.5236 GB, free: 14.45 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.009256, allocations: 211.3 kB / 0.5238 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.00926, allocations: 0.9688 kB / 0.5238 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of FrontEnd: time 8.02e-07/0.009261, allocations: 0 / 0.5238 GB, free: 14.24 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.009268, allocations: 0 / 0.5238 GB, free: 14.24 MB / 0.4949 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.0008874/0.01016, allocations: 0.5253 MB / 0.5244 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.0102, allocations: 12.03 kB / 0.5244 GB, free: 13.66 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.01029, allocations: 21.59 kB / 0.5244 GB, free: 13.64 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.01067, allocations: 200.2 kB / 0.5246 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.01068, allocations: 0.875 kB / 0.5246 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.0107, allocations: 4.375 kB / 0.5246 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.01096, allocations: 116.3 kB / 0.5247 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.01097, allocations: 3.938 kB / 0.5247 GB, free: 13.28 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.01099, allocations: 9.203 kB / 0.5247 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.011, allocations: 4 kB / 0.5247 GB, free: 13.27 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.01112, allocations: 27.92 kB / 0.5247 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.01179, allocations: 357.5 kB / 0.5251 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.01203, allocations: 83.12 kB / 0.5252 GB, free: 12.77 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.01211, allocations: 23.69 kB / 0.5252 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.01213, allocations: 7.984 kB / 0.5252 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.01231, allocations: 78.81 kB / 0.5253 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.01231, allocations: 0 / 0.5253 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.0003997/0.01271, allocations: 129.7 kB / 0.5254 GB, free: 12.51 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.01279, allocations: 81.11 kB / 0.5255 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.01317, allocations: 323 kB / 0.5258 GB, free: 12.08 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.01319, allocations: 25.7 kB / 0.5258 GB, free: 12.05 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01334, allocations: 178.8 kB / 0.526 GB, free: 11.87 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.01338, allocations: 23.84 kB / 0.526 GB, free: 11.85 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.01344, allocations: 35.36 kB / 0.526 GB, free: 11.8 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003087/0.01375, allocations: 0.5164 MB / 0.5265 GB, free: 11.28 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.01382, allocations: 16 kB / 0.5265 GB, free: 11.26 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.01396, allocations: 111.5 kB / 0.5267 GB, free: 11.12 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.01411, allocations: 75.3 kB / 0.5267 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01411, allocations: 0 / 0.5267 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002405/0.01436, allocations: 106.8 kB / 0.5268 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01437, allocations: 4 kB / 0.5268 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01438, allocations: 3.938 kB / 0.5268 GB, free: 10.93 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01439, allocations: 5.031 kB / 0.5268 GB, free: 10.92 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.01449, allocations: 12 kB / 0.5269 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.01449, allocations: 0.9375 kB / 0.5269 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.01456, allocations: 11.94 kB / 0.5269 GB, free: 10.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.01457, allocations: 4 kB / 0.5269 GB, free: 10.89 MB / 0.4949 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.0001748/0.01475, allocations: 184.7 kB / 0.527 GB, free: 10.71 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.01478, allocations: 15.91 kB / 0.5271 GB, free: 10.69 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.01506, allocations: 111.1 kB / 0.5272 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.01508, allocations: 7.984 kB / 0.5272 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01508, allocations: 0 / 0.5272 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01509, allocations: 0 / 0.5272 GB, free: 10.57 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.01535, allocations: 204.4 kB / 0.5274 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01535, allocations: 2.781 kB / 0.5274 GB, free: 10.34 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.0154, allocations: 11.98 kB / 0.5274 GB, free: 10.33 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01541, allocations: 0 / 0.5274 GB, free: 10.33 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.01542, allocations: 0 / 0.5274 GB, free: 10.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01542, allocations: 0 / 0.5274 GB, free: 10.33 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.01542, allocations: 3.938 kB / 0.5274 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01571, allocations: 144.3 kB / 0.5275 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.01576, allocations: 23.89 kB / 0.5275 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01578, allocations: 1.406 kB / 0.5275 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.01584, allocations: 4 kB / 0.5276 GB, free: 10.13 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.0159, allocations: 11.98 kB / 0.5276 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01591, allocations: 0 / 0.5276 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0002224/0.01613, allocations: 215.8 kB / 0.5278 GB, free: 9.91 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8e-08/0.01613, allocations: 4.781 kB / 0.5278 GB, free: 9.906 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.000262/0.01639, allocations: 31.94 kB / 0.5278 GB, free: 9.875 MB / 0.4949 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.003104/0.0195, allocations: 467 kB / 0.5282 GB, free: 9.641 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.01974, allocations: 67.59 kB / 0.5283 GB, free: 9.57 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01974, allocations: 1.562 kB / 0.5283 GB, free: 9.57 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.01985, allocations: 39.66 kB / 0.5284 GB, free: 9.527 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.02017, allocations: 47.89 kB / 0.5284 GB, free: 9.484 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.02081, allocations: 284 kB / 0.5287 GB, free: 9.176 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02094, allocations: 108 kB / 0.5288 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 7.839e-05/0.02102, allocations: 23.25 kB / 0.5288 GB, free: 9.027 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.02108, allocations: 24.48 kB / 0.5288 GB, free: 9.004 MB / 0.4949 GB Notification: Performance of SimCode: time 6.21e-07/0.02109, allocations: 0 / 0.5288 GB, free: 9.004 MB / 0.4949 GB Notification: Performance of Templates: time 0.007519/0.0286, allocations: 2.687 MB / 0.5314 GB, free: 6.473 MB / 0.4949 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: 6.143644996103831]